mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Fix of compilation on Linux, disabled -Wreorder
This commit is contained in:
parent
153bd108a2
commit
27bba45331
4 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "PostProcessor.hpp"
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
#if 1
|
||||
//#ifdef WIN32
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#define slic3r_Print_hpp_
|
||||
|
||||
#include "libslic3r.h"
|
||||
#include <atomic>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue