Browse Source

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

Thomas "elfprince13" Dickerson 8 năm trước cách đây
mục cha
commit
2dcafcb574
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;