parent
ed0e5dfef5
commit
03bb000e82
|
@ -292,7 +292,7 @@ bool CResourceManager::Copy(const std::string& from, const std::string& to)
|
||||||
std::string writeDir = PHYSFS_getWriteDir();
|
std::string writeDir = PHYSFS_getWriteDir();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
boost::filesystem3::copy(writeDir + "/" + CleanPath(from), writeDir + "/" + CleanPath(to));
|
fs::copy(writeDir + "/" + CleanPath(from), writeDir + "/" + CleanPath(to));
|
||||||
}
|
}
|
||||||
catch (std::exception & e)
|
catch (std::exception & e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
|
|
||||||
#include "CBot/CBotDll.h"
|
#include "CBot/CBotDll.h"
|
||||||
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
|
|
||||||
class CObject;
|
class CObject;
|
||||||
class CScript;
|
class CScript;
|
||||||
|
|
Loading…
Reference in New Issue