Make empty default on_data_arrived implementation

This commit is contained in:
2025-08-19 16:05:04 -04:00
parent b017c6b209
commit ee32b64c02

View File

@@ -39,8 +39,8 @@ public:
* after the call to on_data_arrived. * after the call to on_data_arrived.
* @note May be called from an arbitrary network thread. * @note May be called from an arbitrary network thread.
*/ */
virtual void on_data_arrived(std::string_view data, virtual void on_data_arrived(std::string_view /*data*/,
std::unique_ptr<Connection> &conn_ptr) = 0; std::unique_ptr<Connection> &) {};
/** /**
* Successfully wrote data on the connection. * Successfully wrote data on the connection.