Merge pull request #223 from svost/c4512
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Thu, 14 May 2015 13:48:19 +0000 (16:48 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Thu, 14 May 2015 13:48:19 +0000 (16:48 +0300)
Fix MSVC c4512 (assignment operator could not be generated)

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: