summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Directory.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-18 12:51:33 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-18 12:51:33 (GMT)
commitef4d992b5483403ea63df33fef1787b2c84f9b7e (patch)
treefcbbfb350206ed3a0c88c4180d834fee85fc0f4a /Source/kwsys/Directory.hxx.in
parent6c4bfb6e7f4998d2a163f78bde1dd1b982947c0a (diff)
parent8fd4c19e1b39efa6912321a72ac12a1c0121264e (diff)
downloadCMake-ef4d992b5483403ea63df33fef1787b2c84f9b7e.zip
CMake-ef4d992b5483403ea63df33fef1787b2c84f9b7e.tar.gz
CMake-ef4d992b5483403ea63df33fef1787b2c84f9b7e.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2020-05-18 (146f6b36)
Diffstat (limited to 'Source/kwsys/Directory.hxx.in')
-rw-r--r--Source/kwsys/Directory.hxx.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/kwsys/Directory.hxx.in b/Source/kwsys/Directory.hxx.in
index 9b0f4c3..7bc9db0 100644
--- a/Source/kwsys/Directory.hxx.in
+++ b/Source/kwsys/Directory.hxx.in
@@ -35,7 +35,7 @@ public:
* in that directory. 0 is returned if the directory can not be
* opened, 1 if it is opened.
*/
- bool Load(const std::string&);
+ bool Load(const std::string&, std::string* errorMessage = nullptr);
/**
* Return the number of files in the current directory.
@@ -46,7 +46,8 @@ public:
* Return the number of files in the specified directory.
* A higher performance static method.
*/
- static unsigned long GetNumberOfFilesInDirectory(const std::string&);
+ static unsigned long GetNumberOfFilesInDirectory(
+ const std::string&, std::string* errorMessage = nullptr);
/**
* Return the file at the given index, the indexing is 0 based