minor format change,
This commit is contained in:
parent
1d16d0c17f
commit
b5f4947f7c
@ -99,13 +99,11 @@ namespace core
|
|||||||
return !shutDown;
|
return !shutDown;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Socket::onDataReceived(std::string data)
|
void Socket::onDataReceived(std::string data) {
|
||||||
{
|
|
||||||
throw coreutils::Exception("Need to override onDataReceived.", __FILE__, __LINE__, -1);
|
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()));
|
onDataReceived(std::string(data.getData(), data.getLength()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user