Be explicit with lazy_ctor captures
This commit is contained in:
parent
24a790a7dc
commit
4a3018615b
|
@ -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() ); \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue