Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-08-09 18:01:37 +0300
committerVojtech Kral <vojtech@kral.hk>2019-08-19 18:04:14 +0300
commit745182988d5edc06ef3d9c0ea1a2265a04d79a88 (patch)
treec24dabe4be88957374849bc6818188f90b77b909 /src/slic3r/Config/Snapshot.hpp
parentb5dd13b9879eb1d149ed1c4f3f15fb10abd112a5 (diff)
Refactor: Move Semver from slice3r to libslic3r
A static symbol Slic3r::SEMVER is introduced, which holds the running slicer's Semver object. This is mainly done to make testing updater behaviour _much_ easier. Additionaly to cleanup some questionable code (Semver was being parsed multiple times / in multiple places in the frontend.)
Diffstat (limited to 'src/slic3r/Config/Snapshot.hpp')
-rw-r--r--src/slic3r/Config/Snapshot.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/Config/Snapshot.hpp b/src/slic3r/Config/Snapshot.hpp
index a916dfe92..9a7391691 100644
--- a/src/slic3r/Config/Snapshot.hpp
+++ b/src/slic3r/Config/Snapshot.hpp
@@ -8,8 +8,8 @@
#include <boost/filesystem.hpp>
+#include "libslic3r/Semver.hpp"
#include "Version.hpp"
-#include "../Utils/Semver.hpp"
namespace Slic3r {