diff --git a/src/slic3r/Utils/PresetUpdater.hpp b/src/slic3r/Utils/PresetUpdater.hpp index d0d18a7d88..085aaa4a6a 100644 --- a/src/slic3r/Utils/PresetUpdater.hpp +++ b/src/slic3r/Utils/PresetUpdater.hpp @@ -13,7 +13,7 @@ class AppConfig; class PresetBundle; class Semver; -const int SLIC3R_VERSION_BODY_MAX = 256; +static constexpr const int SLIC3R_VERSION_BODY_MAX = 256; class PresetUpdater {