mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-02 04:04:44 +02:00
Fix warning: the implicit by-copy capture of "this" is deprecated (EDG frontend)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
committed by
Victor Zverovich
parent
81ebe70b9b
commit
8276f1a204
@@ -13778,7 +13778,7 @@ UntypedActionResultHolderBase* UntypedFunctionMockerBase::UntypedInvokeWith(
|
|||||||
|
|
||||||
UntypedActionResultHolderBase* result = nullptr;
|
UntypedActionResultHolderBase* result = nullptr;
|
||||||
|
|
||||||
auto perform_action = [&] {
|
auto perform_action = [&, this] {
|
||||||
return untyped_action == nullptr
|
return untyped_action == nullptr
|
||||||
? this->UntypedPerformDefaultAction(untyped_args, ss.str())
|
? this->UntypedPerformDefaultAction(untyped_args, ss.str())
|
||||||
: this->UntypedPerformAction(untyped_action, untyped_args);
|
: this->UntypedPerformAction(untyped_action, untyped_args);
|
||||||
|
Reference in New Issue
Block a user