1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Make serializeStructToString use an ostringstream

This commit is contained in:
ShadowNinja
2014-03-15 15:12:11 -04:00
parent 93729b09d5
commit 23be6450a1
2 changed files with 27 additions and 44 deletions

View File

@@ -403,7 +403,7 @@ std::string deSerializeJsonString(std::istream &is);
// Creates a string containing comma delimited values of a struct whose layout is
// described by the parameter format
bool serializeStructToString(std::string *outstr,
bool serializeStructToString(std::string *out,
std::string format, void *value);
// Reads a comma delimited string of values into a struct whose layout is