Fix MSVC c4512 (assignment operator could not be generated) 223/head
authorsvost <ya.nowa@yandex.ru>
Wed, 13 May 2015 16:59:14 +0000 (19:59 +0300)
committersvost <ya.nowa@yandex.ru>
Wed, 13 May 2015 16:59:14 +0000 (19:59 +0300)
src/bitcoinrpc.cpp
src/script.cpp

index 6722162..c09be24 100644 (file)
@@ -615,6 +615,7 @@ public:
 private:
     bool fNeedHandshake;
     bool fUseSSL;
+    SSLIOStreamDevice& operator=(SSLIOStreamDevice const&);
     asio::ssl::stream<typename Protocol::socket>& stream;
 };
 
index 77f9ef4..88587a0 100644 (file)
@@ -1539,6 +1539,7 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet)
 class CAffectedKeysVisitor : public boost::static_visitor<void> {
 private:
     const CKeyStore &keystore;
+    CAffectedKeysVisitor& operator=(CAffectedKeysVisitor const&);
     std::vector<CKeyID> &vKeys;
 
 public: