summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-07-28 13:59:22 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-07-28 15:47:26 (GMT)
commitad3183db8cbc15d25b9326b5b479eba01e87f30a (patch)
tree75c27d89ed1754c969e1f4f279d59770d3163ea0 /Source/cmSystemTools.h
parent200eadcd9090a138eef6d16a43f4f182bd802bcb (diff)
downloadCMake-ad3183db8cbc15d25b9326b5b479eba01e87f30a.zip
CMake-ad3183db8cbc15d25b9326b5b479eba01e87f30a.tar.gz
CMake-ad3183db8cbc15d25b9326b5b479eba01e87f30a.tar.bz2
cmSystemTool: Let Expand(ed)ListArgument accept a cm::string_view
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 1962389..87f0a11 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -32,7 +32,7 @@ public:
* Expand the ; separated string @a arg into multiple arguments.
* All found arguments are appended to @a argsOut.
*/
- static void ExpandListArgument(const std::string& arg,
+ static void ExpandListArgument(cm::string_view arg,
std::vector<std::string>& argsOut,
bool emptyArgs = false);
@@ -54,7 +54,7 @@ public:
* Same as ExpandListArgument but a new vector is created containing
* the expanded arguments from the string @a arg.
*/
- static std::vector<std::string> ExpandedListArgument(const std::string& arg,
+ static std::vector<std::string> ExpandedListArgument(cm::string_view arg,
bool emptyArgs = false);
/**