summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKonstantin Zaitsev <konstantin.zaitsev@xored.com>2017-09-18 11:28:25 +0700
committerKonstantin Zaitsev <konstantin.zaitsev@xored.com>2017-09-19 10:33:07 +0700
commitc386a02654eae581183da0dfd138603a0667639e (patch)
tree8a5441c0fd8c8a4d10ab803e3abd70028d7edcf5 /core
parentbc005a57d38137b062e0ccc26467353f53556930 (diff)
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);