diff options
Diffstat (limited to 'serialize/tile.cpp')
-rw-r--r-- | serialize/tile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize/tile.cpp b/serialize/tile.cpp index 2e94bfb8..11473548 100644 --- a/serialize/tile.cpp +++ b/serialize/tile.cpp @@ -12,10 +12,10 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(local_coords, x, y) } // namespace floormat -namespace nlohmann { - using namespace floormat; +namespace nlohmann { + void adl_serializer<tile_image>::to_json(json& j, const tile_image& val) { using nlohmann::to_json; if (val.atlas) to_json(j, val); else j = nullptr; } void adl_serializer<tile_image>::from_json(const json& j, tile_image& val) { using nlohmann::from_json; from_json(j, val); } |