]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_netChat.cxx
SGPath: fix creating paths with permission checker.
[simgear.git] / simgear / io / sg_netChat.cxx
index 0559c09b30d193f4018ab5f173e603503269eedd..d445e4438ad22255febd27e3cda8122e3b694300 100644 (file)
@@ -37,10 +37,10 @@ NetChat::setTerminator(const std::string& t)
   bytesToCollect = -1;
 }
 
-const std::string&
+const char*
 NetChat::getTerminator() const
 {
-  return terminator;
+  return terminator.c_str();
 }