diff --git a/src/OrcaSlicer.cpp b/src/OrcaSlicer.cpp index 7a9977f816..a2e4e20374 100644 --- a/src/OrcaSlicer.cpp +++ b/src/OrcaSlicer.cpp @@ -77,12 +77,10 @@ #include #include #include -//add json logic -#include "nlohmann/json.hpp" - -using namespace nlohmann; #endif +#include "nlohmann/json.hpp" + #include #include #include @@ -156,6 +154,7 @@ using namespace nlohmann; #include namespace fs = boost::filesystem; +using json = nlohmann::json; #ifdef __WXGTK__ #if __has_include()