Capture by-val in Retranslator macro.
This commit is contained in:
parent
688cc8f798
commit
8575240b95
@ -51,6 +51,6 @@ private:
|
||||
} // namespace CalamaresUtils
|
||||
|
||||
#define CALAMARES_RETRANSLATE(a) \
|
||||
CalamaresUtils::Retranslator::attachRetranslator( this, [this] { a } );
|
||||
CalamaresUtils::Retranslator::attachRetranslator( this, [=] { a } );
|
||||
|
||||
#endif // CALAMARESUTILS_RETRANSLATOR_H
|
||||
|
Loading…
Reference in New Issue
Block a user