summaryrefslogtreecommitdiffhomepage
path: root/serialize/ground-atlas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'serialize/ground-atlas.hpp')
-rw-r--r--serialize/ground-atlas.hpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/serialize/ground-atlas.hpp b/serialize/ground-atlas.hpp
index 344e8714..7ca57ede 100644
--- a/serialize/ground-atlas.hpp
+++ b/serialize/ground-atlas.hpp
@@ -1,14 +1,19 @@
#pragma once
-#include "src/ground-atlas.hpp"
-#include <memory>
+#include "loader/ground-info.hpp"
#include <nlohmann/json_fwd.hpp>
+namespace floormat {
+
+struct ground_info;
+
+} // namespace floormat
+
namespace nlohmann {
template<>
-struct adl_serializer<std::shared_ptr<floormat::ground_atlas>> final {
- static void to_json(json& j, const std::shared_ptr<const floormat::ground_atlas>& x);
- static void from_json(const json& j, std::shared_ptr<floormat::ground_atlas>& x);
+struct adl_serializer<floormat::ground_info> final {
+ static void to_json(json& j, const floormat::ground_info& x) = delete;
+ static void from_json(const json& j, floormat::ground_info& x);
};
} // namespace nlohmann