Trap attempts to duplicate unduplicatable instances.

This commit is contained in:
JoelKatz
2012-05-28 03:40:44 -07:00
parent e6e72a7b9a
commit f4d458f77d
2 changed files with 7 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
#include "SerializedLedger.h"
#include "NetworkOPs.h"
class RPCServer : public boost::enable_shared_from_this<RPCServer>
class RPCServer : public boost::enable_shared_from_this<RPCServer>
{
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);

View File

@@ -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;