git repos / blockattack-game

commit 1e882510

Poul Sander · 2024-05-11 19:46
1e8825101547651b05542c1f065a55d8813a8d98 patch · browse files
parent e55872f1977a358ff413422d5b39edde778e32c2

Switch placement to work around mxe limitations

Changed files

M source/code/highscore.cpp before
M source/code/stageclearhandler.cpp before
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 @@ https://blockattack.net
===========================================================================
*/
+
+#include "nlohmann/json.hpp"
#include "highscore.h"
#include "os.hpp"
#include "sago/SagoMisc.hpp"
#include <algorithm>
#include "common.h"
#include <fmt/core.h>
-#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 @@ http://www.blockattack.net
===========================================================================
*/
+#include "nlohmann/json.hpp"
#include "stageclearhandler.hpp"
#include "SDL.h"
#include <vector>
#include <iostream>
#include <sstream>
#include "sago/SagoMisc.hpp"
-#include "nlohmann/json.hpp"
using json = nlohmann::json;