mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
WindowServer+LibGUI+LibHTML: Fix build with -std=c++2a
This commit is contained in:
parent
ca4d4cac45
commit
ef38c49619
Notes:
sideshowbarker
2024-07-19 09:13:34 +09:00
Author: https://github.com/awesomekling
Commit: ef38c49619
3 changed files with 3 additions and 3 deletions
|
@ -129,7 +129,7 @@ void MessageBox::build()
|
|||
button->set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
button->set_preferred_size(0, 20);
|
||||
button->set_text(label);
|
||||
button->on_click = [=](auto&) {
|
||||
button->on_click = [this, label, result](auto&) {
|
||||
dbg() << "GUI::MessageBox: '" << label << "' button clicked";
|
||||
done(result);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue