Skip to content

Commit c702ba0

Browse files
authored
Merge pull request GarageGames#1926 from elfprince13/patch-1
Call the correct system rename
2 parents 0c6174b + 512514d commit c702ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Engine/source/platformPOSIX/posixVolume.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ bool PosixFileSystem::rename(const Path& from,const Path& to)
206206
String fa = buildFileName(_volume,from);
207207
String fb = buildFileName(_volume,to);
208208

209-
if (!rename(fa.c_str(),fb.c_str()))
209+
if (!::rename(fa.c_str(),fb.c_str()))
210210
return true;
211211

212212
return false;

0 commit comments

Comments
 (0)