diff options
Diffstat (limited to 'toolsrc/src/vcpkg_Strings.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Strings.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toolsrc/src/vcpkg_Strings.cpp b/toolsrc/src/vcpkg_Strings.cpp index 3d9895436..5f46af6d2 100644 --- a/toolsrc/src/vcpkg_Strings.cpp +++ b/toolsrc/src/vcpkg_Strings.cpp @@ -99,10 +99,7 @@ namespace vcpkg::Strings trim(&s); } - Util::keep_if(*strings, [](const std::string& s)-> bool - { - return s != ""; - }); + Util::erase_remove_if(*strings, [](const std::string& s) { return s == ""; }); } std::vector<std::string> split(const std::string& s, const std::string& delimiter) |
