summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-26 22:40:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-26 22:40:22 +0200
commitd0d1f44ac77d4ce8c644e1fe2360ae0904f4e1a7 (patch)
tree9ca24547dcb3b422539d0315c453765088073503 /serialize
parentcc1d2b9a76bcbe4be3f42723a91a867ead5aa19c (diff)
add missing namespace declaration
Diffstat (limited to 'serialize')
-rw-r--r--serialize/json-helper.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/serialize/json-helper.hpp b/serialize/json-helper.hpp
index c6dadf53..ebac9eba 100644
--- a/serialize/json-helper.hpp
+++ b/serialize/json-helper.hpp
@@ -5,6 +5,8 @@
#include <filesystem>
#include <nlohmann/json.hpp>
+namespace floormat {
+
struct json_helper final {
template<typename t>
[[nodiscard]]
@@ -41,3 +43,5 @@ void json_helper::to_json(const t& self, const std::filesystem::path& pathname)
s << '\n';
s.flush();
}
+
+} // namespace floormat