From b5f4947f7c9e72efe083e5e2c2fbf7f82fe6ce12 Mon Sep 17 00:00:00 2001 From: Brad Arant Date: Thu, 5 Jun 2025 16:54:36 +0000 Subject: [PATCH] minor format change, --- Socket.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Socket.cpp b/Socket.cpp index f6ecab7..f268233 100644 --- a/Socket.cpp +++ b/Socket.cpp @@ -99,13 +99,11 @@ namespace core return !shutDown; } - void Socket::onDataReceived(std::string data) - { + void Socket::onDataReceived(std::string data) { throw coreutils::Exception("Need to override onDataReceived.", __FILE__, __LINE__, -1); } - void Socket::onDataReceived(coreutils::ZString &data) - { + void Socket::onDataReceived(coreutils::ZString &data) { onDataReceived(std::string(data.getData(), data.getLength())); }