Fixed cppcheck errors

This commit is contained in:
SChernykh
2025-07-31 21:09:54 +02:00
parent 847ffe3959
commit a977f988d5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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