diff --git a/src/json_rpc_request.cpp b/src/json_rpc_request.cpp index f2cc814..07df0a2 100644 --- a/src/json_rpc_request.cpp +++ b/src/json_rpc_request.cpp @@ -25,7 +25,7 @@ LOG_CATEGORY(JSONRPCRequest) namespace p2pool { namespace JSONRPCRequest { -struct CurlContext +struct CurlContext : public nocopy_nomove { CurlContext(const std::string& address, int port, const std::string& req, const std::string& auth, const std::string& proxy, bool ssl, const std::string& ssl_fingerprint, CallbackBase* cb, CallbackBase* close_cb, uv_loop_t* loop); ~CurlContext(); diff --git a/src/zmq_reader.h b/src/zmq_reader.h index 319667b..33e782a 100644 --- a/src/zmq_reader.h +++ b/src/zmq_reader.h @@ -22,7 +22,7 @@ namespace p2pool { -class ZMQReader { +class ZMQReader : public nocopy_nomove { public: ZMQReader(const std::string& address, uint32_t zmq_port, const std::string& proxy, MinerCallbackHandler* handler); ~ZMQReader();