From f4897fccf0c3144822b9341cc0960870f7ebd43f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 14 Jan 2017 15:26:01 +0100 Subject: [PATCH] DirAccessWindows: Fix list_dir_begin return type Fixes bug introduced in da4170540cbe3dcec4855ddbb59edf1abd7cf9b4. --- drivers/windows/dir_access_windows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/windows/dir_access_windows.h b/drivers/windows/dir_access_windows.h index 4d9fdd08e25..f4105b7bc9e 100644 --- a/drivers/windows/dir_access_windows.h +++ b/drivers/windows/dir_access_windows.h @@ -62,7 +62,7 @@ class DirAccessWindows : public DirAccess { public: - virtual bool list_dir_begin(); ///< This starts dir listing + virtual Error list_dir_begin(); ///< This starts dir listing virtual String get_next(); virtual bool current_is_dir() const; virtual bool current_is_hidden() const;