Explorar o código

Merge remote-tracking branch 'origin/patch-1'

Thomas "elfprince13" Dickerson %!s(int64=8) %!d(string=hai) anos
pai
achega
42efbd410e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Engine/source/platformPOSIX/posixVolume.cpp

+ 1 - 1
Engine/source/platformPOSIX/posixVolume.cpp

@@ -206,7 +206,7 @@ bool PosixFileSystem::rename(const Path& from,const Path& to)
    String fa = buildFileName(_volume,from);
    String fb = buildFileName(_volume,to);
    
-   if (!rename(fa.c_str(),fb.c_str()))
+   if (!::rename(fa.c_str(),fb.c_str()))
       return true;
       
    return false;