blob: 0c65c55efd0fc86e7dae07d0cb7c83654538f023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include "src/tile-atlas.hpp"
#include <memory>
#include <nlohmann/json_fwd.hpp>
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
|