diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-27 17:17:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-27 17:17:35 +0200 |
commit | f677d0d5ac2376f6cb60a6125be53b06f338a3d2 (patch) | |
tree | 2c9a6fbeeb53946f5db2ada6b195035ee38639d9 /serialize/world.hpp | |
parent | edb014053ebd3256b3bce16d8d5ac6479d905a2e (diff) |
cleanup some serialization stuff
Diffstat (limited to 'serialize/world.hpp')
-rw-r--r-- | serialize/world.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/serialize/world.hpp b/serialize/world.hpp deleted file mode 100644 index 39abaaca..00000000 --- a/serialize/world.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once -#include <nlohmann/json_fwd.hpp> - -namespace floormat { - -struct chunk_coords; -struct global_coords; -struct chunk; -struct world; - -} // namespace floormat - -namespace nlohmann { - -template<> -struct adl_serializer<floormat::chunk_coords> { - static void to_json(json& j, const floormat::chunk_coords& val); - static void from_json(const json& j, floormat::chunk_coords& val); -}; - -template<> -struct adl_serializer<floormat::global_coords> { - static void to_json(json& j, const floormat::global_coords& val); - static void from_json(const json& j, floormat::global_coords& val); -}; - -} // namespace nlohmann - |