summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-14 09:16:41 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-14 09:17:15 -0300
commitda4170540cbe3dcec4855ddbb59edf1abd7cf9b4 (patch)
tree873e57d1fdbf5cfe414c9610068e78ce0d4258db /core/os
parent7b9f2d9929d0e8516d42379962533df823c7c550 (diff)
Fixed dir access return value, changed it to Error like all other funcs
Diffstat (limited to 'core/os')
-rw-r--r--core/os/dir_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/dir_access.h b/core/os/dir_access.h
index f824b5f319..7c173fc780 100644
--- a/core/os/dir_access.h
+++ b/core/os/dir_access.h
@@ -72,7 +72,7 @@ protected:
public:
- virtual bool list_dir_begin()=0; ///< This starts dir listing
+ virtual Error list_dir_begin()=0; ///< This starts dir listing
virtual String get_next(bool* p_is_dir); // compatibility
virtual String get_next()=0;
virtual bool current_is_dir() const=0;