From ad37dbfec26c17880e10ed0e1f7becea96066b65 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Tue, 19 Sep 2017 20:38:59 -0300 Subject: [PATCH] Fix base _chmod return value --- core/os/file_access.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/file_access.h b/core/os/file_access.h index 80824c8d4a..9696eb0030 100644 --- a/core/os/file_access.h +++ b/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);