summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:46:27 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:34 (GMT)
commit23e9b80f585db1cc68846a54e6e5844f970215ea (patch)
tree7afc07b02465518dd34efafefe114ff573cd005b /Source/cmSystemTools.h
parent8455dd0a9a6c766870c7ddcb186e49a8a5db1416 (diff)
downloadCMake-23e9b80f585db1cc68846a54e6e5844f970215ea.zip
CMake-23e9b80f585db1cc68846a54e6e5844f970215ea.tar.gz
CMake-23e9b80f585db1cc68846a54e6e5844f970215ea.tar.bz2
stringapi: Use strings for globbing parameters
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index da37ceb..51c103e 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -158,9 +158,10 @@ public:
static std::string FileExistsInParentDirectories(const char* fname,
const char* directory, const char* toplevel);
- static void Glob(const char *directory, const char *regexp,
+ static void Glob(const std::string& directory, const std::string& regexp,
std::vector<std::string>& files);
- static void GlobDirs(const char *fullPath, std::vector<std::string>& files);
+ static void GlobDirs(const std::string& fullPath,
+ std::vector<std::string>& files);
/**
* Try to find a list of files that match the "simple" globbing