summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 18:24:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-06 18:24:20 +0200
commit84d091346a9fdf26f5dca2cc49a1c592f40fcd05 (patch)
tree700d5ada6e4f72f545e9019bb848c47e4483ec49 /serialize
parent906c4f794e02904325cd61124e41d8868e78d3fa (diff)
a
Diffstat (limited to 'serialize')
-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;
}