diff --git a/src/config/TOMLNode.hpp b/src/config/TOMLNode.hpp index a590ca5..2cf2c64 100644 --- a/src/config/TOMLNode.hpp +++ b/src/config/TOMLNode.hpp @@ -95,6 +95,7 @@ class toml_node std::string *result = new std::string(); TOMLMap::iterator it; + ss << "{\n"; for (it = map->begin(); it != map->end(); ++it) { ss << it->first @@ -103,6 +104,8 @@ class toml_node << std::endl; } + ss << "}" << std::endl; + /* ss >> *result; */ *result = ss.str(); return (result);