summaryrefslogtreecommitdiffhomepage
path: root/serialize/json-helper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'serialize/json-helper.hpp')
-rw-r--r--serialize/json-helper.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/serialize/json-helper.hpp b/serialize/json-helper.hpp
index 4a9ee0ac..345efe54 100644
--- a/serialize/json-helper.hpp
+++ b/serialize/json-helper.hpp
@@ -45,6 +45,7 @@ bool json_helper::to_json(const t& self, const std::filesystem::path& pathname)
return false;
}
s << j.dump(4);
+ s << '\n';
s.flush();
return true;
}