diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-07-28 14:07:39 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-07-28 15:47:26 (GMT) |
commit | 09977c181641dd4feea8fc13bf718f0f9cfe05bb (patch) | |
tree | 01368bfc03a8c5bd0817d0a0d6485526a394b65e /Source/cmSystemTools.h | |
parent | 2f19e53705a6e60af37964c146a742d845f84870 (diff) | |
download | CMake-09977c181641dd4feea8fc13bf718f0f9cfe05bb.zip CMake-09977c181641dd4feea8fc13bf718f0f9cfe05bb.tar.gz CMake-09977c181641dd4feea8fc13bf718f0f9cfe05bb.tar.bz2 |
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 46eab57..ac1aa80 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*)>; /** |