mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
Userland: Cast unused BackgroundAction::construct() results to void
User code does not need to keep this alive, so casting to void is safe. But maybe a bit weird.
This commit is contained in:
committed by
Andreas Kling
parent
92f8514a85
commit
d2024f04bd
Notes:
sideshowbarker
2024-07-17 23:09:21 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/d2024f04bd7 Pull-request: https://github.com/SerenityOS/serenity/pull/11151
@@ -113,7 +113,7 @@ private:
|
||||
|
||||
void ThreadStackWidget::refresh()
|
||||
{
|
||||
Threading::BackgroundAction<Vector<Symbolication::Symbol>>::construct(
|
||||
(void)Threading::BackgroundAction<Vector<Symbolication::Symbol>>::construct(
|
||||
[pid = m_pid, tid = m_tid](auto&) {
|
||||
return Symbolication::symbolicate_thread(pid, tid, Symbolication::IncludeSourcePosition::No);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user