minor format change,
This commit is contained in:
1 parent
1d16d0c17f
commit
b5f4947f7c
1 file changed
+2
-4
+2
-4
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user