Fixed several buffer segfaults when multiple viewers are connected.

This commit is contained in:
Thulinma 2013-03-26 15:57:53 +01:00
parent 97974409a6
commit 35df73e042
3 changed files with 31 additions and 18 deletions

View file

@ -70,6 +70,7 @@ namespace JSON {
Value & operator[](unsigned int i);
//handy functions and others
std::string toPacked();
void netPrepare();
std::string & toNetPacked();
std::string toString();
std::string toPrettyString(int indentation = 0);