Fix of compilation on Linux, disabled -Wreorder

This commit is contained in:
Vojtech Bubnik 2018-09-17 17:17:38 +02:00
parent 153bd108a2
commit 27bba45331
4 changed files with 5 additions and 4 deletions

View file

@ -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