diff --git a/src/RPCServer.h b/src/RPCServer.h index 86994cbf3..ee6cab8dd 100644 --- a/src/RPCServer.h +++ b/src/RPCServer.h @@ -11,7 +11,7 @@ #include "SerializedLedger.h" #include "NetworkOPs.h" -class RPCServer : public boost::enable_shared_from_this +class RPCServer : public boost::enable_shared_from_this { private: NetworkOPs* mNetOps; @@ -25,6 +25,9 @@ private: RPCServer(boost::asio::io_service& io_service, NetworkOPs* nopNetwork); + RPCServer(const RPCServer&); // no implementation + RPCServer& operator=(const RPCServer&); // no implementation + void handle_write(const boost::system::error_code& error); void handle_read(const boost::system::error_code& e, std::size_t bytes_transferred); diff --git a/src/Wallet.h b/src/Wallet.h index e900f6d12..982f80a91 100644 --- a/src/Wallet.h +++ b/src/Wallet.h @@ -25,6 +25,9 @@ private: bool nodeIdentityLoad(); bool nodeIdentityCreate(); + Wallet(const Wallet&); // no implementation + Wallet& operator=(const Wallet&); // no implementation + protected: boost::recursive_mutex mLock;