summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-19 14:58:19 +0200
committerGitHub <noreply@github.com>2017-09-19 14:58:19 +0200
commitba4439c4914582f10b06168a50244d82efe84b20 (patch)
tree5d486716f73cf24ebf6f56581808deb3fa7025da /core
parent36e8bee7524ca71609e14b71c7bf427eb832179a (diff)
parent28dc30cd594efbea667fd9a5e507f3ecf8d25450 (diff)
Merge pull request #11386 from kosz78/fix-msvc-compile-errors
Fix MSVC compilation errors
Diffstat (limited to 'core')
-rw-r--r--core/os/file_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/file_access.h b/core/os/file_access.h
index 151c41c263..63692cb290 100644
--- a/core/os/file_access.h
+++ b/core/os/file_access.h
@@ -140,7 +140,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);