Stop Format/STEP.hpp Defining a Global fs Alias

Every file that included STEP.hpp, directly or not, got namespace fs = boost::filesystem at global scope, and 29 sources and three headers relied on it without saying so. Headers now spell out boost::filesystem, and each source that uses fs declares the alias itself.
This commit is contained in:
Hanif Koh
2026-10-03 22:45:13 +08:00
parent a6dbf2502d
commit 5704fa348f
33 changed files with 78 additions and 10 deletions
+2
View File
@@ -141,6 +141,8 @@ using namespace nlohmann;
#include "slic3r/GUI/GuiColor.hpp"
#include <GLFW/glfw3.h>
namespace fs = boost::filesystem;
#ifdef __WXGTK__
#if __has_include(<X11/Xlib.h>)
#include <X11/Xlib.h>