]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_netChat.hxx
SGPath: fix creating paths with permission checker.
[simgear.git] / simgear / io / sg_netChat.hxx
index bc6ef6569a307df6dd2b5b799bef4cf3f475298d..3a5c08a6fd2db02f144de56cb82bf04187e891b4 100644 (file)
@@ -70,6 +70,8 @@ class NetChat : public NetBufferChannel
 {
   std::string terminator;
   int bytesToCollect;
+
+protected:
   virtual void handleBufferRead (NetBuffer& buffer) ;
 
 public:
@@ -79,7 +81,7 @@ public:
   {}
 
   void setTerminator(const std::string& t);
-  const std::string& getTerminator() const;
+  const char* getTerminator() const;
 
   /**
    * set byte count to collect - 'foundTerminator' will be called once