diff --git a/src/connection_handler.hpp b/src/connection_handler.hpp index 6ceec8b..0b32083 100644 --- a/src/connection_handler.hpp +++ b/src/connection_handler.hpp @@ -39,8 +39,8 @@ public: * after the call to on_data_arrived. * @note May be called from an arbitrary network thread. */ - virtual void on_data_arrived(std::string_view data, - std::unique_ptr &conn_ptr) = 0; + virtual void on_data_arrived(std::string_view /*data*/, + std::unique_ptr &) {}; /** * Successfully wrote data on the connection.