minor format change,

This commit is contained in:
Brad Arant 2025-06-05 16:54:36 +00:00
parent 1d16d0c17f
commit b5f4947f7c

View File

@ -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()));
}