mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmSystemTool: Let Expand(ed)ListArgument accept a cm::string_view
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user