Fixed cppcheck errors

This commit is contained in:
SChernykh
2024-02-24 10:02:50 +01:00
parent 8eb5f86e9a
commit e82fe8cdc1
5 changed files with 9 additions and 9 deletions

View File

@@ -28,12 +28,12 @@ class ConsoleCommands : public TCPServer
{
public:
explicit ConsoleCommands(p2pool* pool);
~ConsoleCommands();
~ConsoleCommands() override;
struct ConsoleClient : public Client
{
ConsoleClient() : Client(m_consoleReadBuf, sizeof(m_consoleReadBuf)) {}
~ConsoleClient() {}
~ConsoleClient() override {}
static Client* allocate() { return new ConsoleClient(); }