소스 검색

No __s in rename

Hugh Sanderson 15 년 전
부모
커밋
391e33c49e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {