diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-28 19:39:33 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-28 19:54:01 -0700 |
| commit | 28e581599e263e3f0b021ad5b6914d80fa9640f8 (patch) | |
| tree | 15ca2181346e1e9dd76521099c6d05a550d52534 /toolsrc/src/vcpkg_Strings.cpp | |
| parent | 03c4c7f8c49d103f57fe12899526b27fc8ccc452 (diff) | |
| download | vcpkg-28e581599e263e3f0b021ad5b6914d80fa9640f8.tar.gz vcpkg-28e581599e263e3f0b021ad5b6914d80fa9640f8.zip | |
Use Strings::EMPTY
Diffstat (limited to 'toolsrc/src/vcpkg_Strings.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_Strings.cpp b/toolsrc/src/vcpkg_Strings.cpp index b5ea338de..d08898bce 100644 --- a/toolsrc/src/vcpkg_Strings.cpp +++ b/toolsrc/src/vcpkg_Strings.cpp @@ -133,7 +133,7 @@ namespace vcpkg::Strings trim(&s); } - Util::erase_remove_if(*strings, [](const std::string& s) { return s == ""; }); + Util::erase_remove_if(*strings, [](const std::string& s) { return Strings::is_empty(s); }); } std::vector<std::string> split(const std::string& s, const std::string& delimiter) |
