mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Fix of compilation on Linux, disabled -Wreorder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user