1
0
Fork 0
forked from lthn/blockchain

fixed capture for lambda

This commit is contained in:
cryptozoidberg 2020-05-13 22:11:58 +02:00
parent 9e983b70b2
commit 1af8862202
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -42,7 +42,7 @@ struct plain_wallet_instance
std::shared_ptr<plain_wallet_instance> ginstance_ptr;
epee::misc_utils::auto_scope_leave_caller scope_exit_handler = misc_utils::create_scope_leave_handler([&]()
epee::misc_utils::auto_scope_leave_caller scope_exit_handler = misc_utils::create_scope_leave_handler([]()
{
std::cout << "[LEAVE HANDLER CALLED]" << ENDL;
});