diff options
author | Brad King <brad.king@kitware.com> | 2021-04-14 16:13:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-14 16:13:59 (GMT) |
commit | eef585efaa49d546a9af2939a147c971c76de03e (patch) | |
tree | 35125ce532848216258f06ff643b1cde6090c3b2 /Source/kwsys/Directory.hxx.in | |
parent | ff9e922902834a68d7872fa2d7476f28c865decd (diff) | |
parent | a790167101290eaf77d7a3ef8fd807160af1b9a9 (diff) | |
download | CMake-eef585efaa49d546a9af2939a147c971c76de03e.zip CMake-eef585efaa49d546a9af2939a147c971c76de03e.tar.gz CMake-eef585efaa49d546a9af2939a147c971c76de03e.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
KWSys 2021-04-14 (7ab1c601)
Diffstat (limited to 'Source/kwsys/Directory.hxx.in')
-rw-r--r-- | Source/kwsys/Directory.hxx.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/Directory.hxx.in b/Source/kwsys/Directory.hxx.in index 7bc9db0..d501116 100644 --- a/Source/kwsys/Directory.hxx.in +++ b/Source/kwsys/Directory.hxx.in @@ -4,6 +4,7 @@ #define @KWSYS_NAMESPACE@_Directory_hxx #include <@KWSYS_NAMESPACE@/Configure.h> +#include <@KWSYS_NAMESPACE@/Status.hxx> #include <string> @@ -32,10 +33,9 @@ public: /** * Load the specified directory and load the names of the files - * in that directory. 0 is returned if the directory can not be - * opened, 1 if it is opened. + * in that directory. */ - bool Load(const std::string&, std::string* errorMessage = nullptr); + Status Load(std::string const&, std::string* errorMessage = nullptr); /** * Return the number of files in the current directory. |