소스 검색

Merge pull request #11427 from marcelofg55/fix_chmod_return

Fix base _chmod return value

[ci skip]
Rémi Verschelde 8 년 전
부모
커밋
d344fb6089
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/os/file_access.h

+ 1 - 1
core/os/file_access.h

@@ -139,7 +139,7 @@ public:
 
 	virtual Error reopen(const String &p_path, int p_mode_flags); ///< does not change the AccessType
 
-	virtual Error _chmod(const String &p_path, int p_mod) {}
+	virtual Error _chmod(const String &p_path, int p_mod) { return FAILED; }
 
 	static FileAccess *create(AccessType p_access); /// Create a file access (for the current platform) this is the only portable way of accessing files.
 	static FileAccess *create_for_path(const String &p_path);