Be explicit with lazy_ctor captures

This commit is contained in:
Marek Roszko 2024-04-12 19:56:02 -04:00
parent 24a790a7dc
commit 4a3018615b
1 changed files with 1 additions and 1 deletions

View File

@ -1116,7 +1116,7 @@ void EDA_BASE_FRAME::ShowPreferences( wxString aStartPage, wxString aStartParent
#endif #endif
#define LAZY_CTOR( key ) \ #define LAZY_CTOR( key ) \
[=]( wxWindow* aParent ) \ [this, kiface]( wxWindow* aParent ) \
{ \ { \
return kiface->CreateKiWindow( aParent, key, &Kiway() ); \ return kiface->CreateKiWindow( aParent, key, &Kiway() ); \
} }