From: svost Date: Wed, 13 May 2015 16:59:14 +0000 (+0300) Subject: Fix MSVC c4512 (assignment operator could not be generated) X-Git-Tag: nvc-v0.5.3~8^2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=2df3646c881ec9a358f93e78d993e34fa1ad161d;hp=c3ee3646189a800312b171ac24729dcebf35f9c3 Fix MSVC c4512 (assignment operator could not be generated) --- 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: