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 Bubnik <bubnikv@gmail.com>2018-09-17 18:17:38 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2018-09-17 18:17:38 +0300
commit27bba453312d59898f773aa54d7b625e65fc501e (patch)
treec63bb3a9420b58eb69225c4ded4682757d1c4532 /xs/src/libslic3r/utils.cpp
parent153bd108a209a102f4f99d20c531c8ebf3ef3a7a (diff)
Fix of compilation on Linux, disabled -Wreorder
Diffstat (limited to 'xs/src/libslic3r/utils.cpp')
-rw-r--r--xs/src/libslic3r/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/utils.cpp b/xs/src/libslic3r/utils.cpp
index 46ee65a35..2fbfcae81 100644
--- a/xs/src/libslic3r/utils.cpp
+++ b/xs/src/libslic3r/utils.cpp
@@ -205,7 +205,7 @@ int rename_file(const std::string &from, const std::string &to)
#else
- boost::nowide::remove(from.c_str());
+ boost::nowide::remove(to.c_str());
ec = boost::nowide::rename(from.c_str(), to.c_str());
#endif