fix due to spdlog(fmt) and json updates

implement workaround until https://github.com/nlohmann/json/issues/4261
gets fixed
This commit is contained in:
Green Sky
2025-05-21 11:53:59 +02:00
parent c6191d2cdc
commit 31e24b9c04
2 changed files with 9 additions and 3 deletions

View File

@ -25,6 +25,11 @@
#define LOG_DEBUG(...) __LOG_DEBUG("Tilemap", __VA_ARGS__)
#define LOG_TRACE(...) __LOG_TRACE("Tilemap", __VA_ARGS__)
// HACK: https://github.com/nlohmann/json/issues/4261
namespace nlohmann {
auto format_as(const json& j) { return j.dump(); }
} // nlohmann
namespace MM {
Tilemap::Tilemap(void) {