Explorar o código

No __s in rename

Hugh Sanderson %!s(int64=15) %!d(string=hai) anos
pai
achega
391e33c49e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/cpp/FileSystem.hx

+ 1 - 1
std/cpp/FileSystem.hx

@@ -51,7 +51,7 @@ class FileSystem {
 	}
 
 	public static function rename( path : String, newpath : String ) {
-		untyped sys_rename(path.__s,newpath.__s);
+		untyped sys_rename(path,newpath);
 	}
 
 	public static function stat( path : String ) : FileStat {