Fixed cppcheck errors
This commit is contained in:
@@ -25,7 +25,7 @@ LOG_CATEGORY(JSONRPCRequest)
|
|||||||
namespace p2pool {
|
namespace p2pool {
|
||||||
namespace JSONRPCRequest {
|
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(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();
|
~CurlContext();
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
namespace p2pool {
|
namespace p2pool {
|
||||||
|
|
||||||
class ZMQReader {
|
class ZMQReader : public nocopy_nomove {
|
||||||
public:
|
public:
|
||||||
ZMQReader(const std::string& address, uint32_t zmq_port, const std::string& proxy, MinerCallbackHandler* handler);
|
ZMQReader(const std::string& address, uint32_t zmq_port, const std::string& proxy, MinerCallbackHandler* handler);
|
||||||
~ZMQReader();
|
~ZMQReader();
|
||||||
|
|||||||
Reference in New Issue
Block a user