From 1e8825101547651b05542c1f065a55d8813a8d98 Mon Sep 17 00:00:00 2001 From: Poul Sander Date: Sat, 11 May 2024 21:46:18 +0200 Subject: [PATCH] Switch placement to work around mxe limitations --- source/code/highscore.cpp | 3 ++- source/code/stageclearhandler.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/code/highscore.cpp b/source/code/highscore.cpp index 84c96aa..ff92447 100644 --- a/source/code/highscore.cpp +++ b/source/code/highscore.cpp @@ -21,13 +21,14 @@ Source information and contacts persons can be found at =========================================================================== */ + +#include "nlohmann/json.hpp" #include "highscore.h" #include "os.hpp" #include "sago/SagoMisc.hpp" #include #include "common.h" #include -#include "nlohmann/json.hpp" using json = nlohmann::json; diff --git a/source/code/stageclearhandler.cpp b/source/code/stageclearhandler.cpp index 94541fa..3080328 100644 --- a/source/code/stageclearhandler.cpp +++ b/source/code/stageclearhandler.cpp @@ -21,13 +21,13 @@ Source information and contacts persons can be found at =========================================================================== */ +#include "nlohmann/json.hpp" #include "stageclearhandler.hpp" #include "SDL.h" #include #include #include #include "sago/SagoMisc.hpp" -#include "nlohmann/json.hpp" using json = nlohmann::json;