aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-10-20 16:43:44 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-10-23 16:11:13 -0700
commit23702360ce912b1827afe5559de936cc9a24cd0c (patch)
tree4fe500c5d9f6993699d82a966e78b9698e5c96f5 /toolsrc/include
parent92d1a53215b2cc23dc090368d5218d42e195c478 (diff)
downloadvcpkg-23702360ce912b1827afe5559de936cc9a24cd0c.tar.gz
vcpkg-23702360ce912b1827afe5559de936cc9a24cd0c.zip
Merge trim() and trimmed() functions
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/strings.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolsrc/include/vcpkg/base/strings.h b/toolsrc/include/vcpkg/base/strings.h
index 5b03286de..ee1b2fc28 100644
--- a/toolsrc/include/vcpkg/base/strings.h
+++ b/toolsrc/include/vcpkg/base/strings.h
@@ -78,9 +78,7 @@ namespace vcpkg::Strings
std::string replace_all(std::string&& s, const std::string& search, const std::string& rep);
- void trim(std::string* s);
-
- std::string trimmed(const std::string& s);
+ std::string trim(std::string&& s);
void trim_all_and_remove_whitespace_strings(std::vector<std::string>* strings);