Clean a few more things
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include <utils/timed_events.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
|
||||
DNSHandler DNSHandler::instance;
|
||||
|
||||
|
||||
@@ -20,8 +20,9 @@ class DNSSocketHandler;
|
||||
|
||||
class DNSHandler
|
||||
{
|
||||
public:
|
||||
private:
|
||||
DNSHandler();
|
||||
public:
|
||||
~DNSHandler() = default;
|
||||
DNSHandler(const DNSHandler&) = delete;
|
||||
DNSHandler(DNSHandler&&) = delete;
|
||||
|
||||
@@ -204,8 +204,8 @@ protected:
|
||||
/**
|
||||
* Called when we detect a disconnection from the remote host.
|
||||
*/
|
||||
virtual void on_connection_close(const std::string& error) = 0;
|
||||
virtual void on_connection_failed(const std::string& error) = 0;
|
||||
virtual void on_connection_close(const std::string&) {}
|
||||
virtual void on_connection_failed(const std::string&) {}
|
||||
|
||||
private:
|
||||
#ifdef BOTAN_FOUND
|
||||
|
||||
Reference in New Issue
Block a user