blob: 02e5b966136378a7ddb93ceb470f2f4f44f8bdc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <memory>
#include <nlohmann/json_fwd.hpp>
namespace floormat { struct tile_atlas; }
namespace nlohmann {
template<>
struct adl_serializer<std::shared_ptr<floormat::tile_atlas>> final {
static void to_json(json& j, const std::shared_ptr<const floormat::tile_atlas>& x);
static void from_json(const json& j, std::shared_ptr<floormat::tile_atlas>& x);
};
} // namespace nlohmann
|