mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-19 03:06:37 +02:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user