X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fsg_netChat.cxx;h=3baecdf8b64b564dc0fed0aa0e239d91a921c56b;hb=84e5142195f5d3b2bf40b11119991457d7f8558b;hp=0559c09b30d193f4018ab5f173e603503269eedd;hpb=33e60725b175a449867a978dc40c6820293fe65d;p=simgear.git diff --git a/simgear/io/sg_netChat.cxx b/simgear/io/sg_netChat.cxx index 0559c09b..3baecdf8 100644 --- a/simgear/io/sg_netChat.cxx +++ b/simgear/io/sg_netChat.cxx @@ -27,6 +27,7 @@ #include #include +#include namespace simgear { @@ -37,10 +38,10 @@ NetChat::setTerminator(const std::string& t) bytesToCollect = -1; } -const std::string& +const char* NetChat::getTerminator() const { - return terminator; + return terminator.c_str(); }