git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@91 d34b734f-a00e-4b39-a726-e4eeb87269abadeniz_1
@@ -49,7 +49,7 @@ namespace CodeDweller { | |||
void FileOps::moveFile(std::string const &from, std::string const &to) { | |||
#ifdef _WIN32 | |||
if (MoveFile(from.c_str(), to.c_str()) == 0) { | |||
if (MoveFileEx(from.c_str(), to.c_str(), MOVEFILE_REPLACE_EXISTING) == 0) { | |||
#else | |||
if (rename(from.c_str(), to.c_str()) != 0) { | |||
#endif |