mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Make serializeStructToString use an ostringstream
This commit is contained in:
parent
93729b09d5
commit
23be6450a1
2 changed files with 27 additions and 44 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue