diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-07-28 16:07:39 +0200 |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-07-28 17:47:26 +0200 |
commit | 09977c181641dd4feea8fc13bf718f0f9cfe05bb (patch) | |
tree | 01368bfc03a8c5bd0817d0a0d6485526a394b65e /Source/cmSystemTools.h | |
parent | 2f19e53705a6e60af37964c146a742d845f84870 (diff) | |
download | cmake-09977c181641dd4feea8fc13bf718f0f9cfe05bb.tar.gz |
cmSystemTool: Let TrimWhitespace accept a cm::string_view
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 46eab57dbb..ac1aa80d42 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -86,7 +86,7 @@ public: /** * Returns a string that has whitespace removed from the start and the end. */ - static std::string TrimWhitespace(const std::string& s); + static std::string TrimWhitespace(cm::string_view str); using MessageCallback = std::function<void(const std::string&, const char*)>; /** |