From 488be10664849bfc35effbf6df6ec9114f5cade7 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Tue, 28 Jan 2020 00:58:48 +0100 Subject: [PATCH] added macos workaround for 'invokes deleted constructor' --- src/wallet/plain_wallet_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 363e936d..6744999d 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -9,7 +9,7 @@ //TODO: global objects, need refactoring. Just temporary solution std::map ginstances; epee::critical_section ginstances_lock; -std::atomic gcounter = 1; +std::atomic gcounter(1); #define GENERAL_INTERNAL_ERRROR_INSTANCE "GENERAL_INTERNAL_ERROR: WALLET INSTNACE NOT FOUND"