From 2df3646c881ec9a358f93e78d993e34fa1ad161d Mon Sep 17 00:00:00 2001 From: svost Date: Wed, 13 May 2015 19:59:14 +0300 Subject: [PATCH] Fix MSVC c4512 (assignment operator could not be generated) --- src/bitcoinrpc.cpp | 1 + src/script.cpp | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 6722162..c09be24 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -615,6 +615,7 @@ public: private: bool fNeedHandshake; bool fUseSSL; + SSLIOStreamDevice& operator=(SSLIOStreamDevice const&); asio::ssl::stream& stream; }; diff --git a/src/script.cpp b/src/script.cpp index 77f9ef4..88587a0 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -1539,6 +1539,7 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet) class CAffectedKeysVisitor : public boost::static_visitor { private: const CKeyStore &keystore; + CAffectedKeysVisitor& operator=(CAffectedKeysVisitor const&); std::vector &vKeys; public: -- 1.7.1