summaryrefslogtreecommitdiffhomepage
path: root/stringhelper.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-05 13:55:20 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-05 13:55:20 +0100
commit7973293c311e27ff08a1488c9759c1b5b0fda30e (patch)
treeb4c622de1af43979ba1779713398bbcb6e52be31 /stringhelper.cpp
parent0f2ac0c4311e4429bfa4ede1d96ce467b5dceb5b (diff)
Added tests
Diffstat (limited to 'stringhelper.cpp')
-rw-r--r--stringhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stringhelper.cpp b/stringhelper.cpp
index af37499..8ce2068 100644
--- a/stringhelper.cpp
+++ b/stringhelper.cpp
@@ -56,7 +56,7 @@ std::string Reichwein::Stringhelper::join(std::vector<std::string> vs, std::stri
return s;
}
-bool Reichwein::Stringhelper::startsWithAnyOfLower(const std::string &s, const std::vector<std::string> &list) {
+bool Reichwein::Stringhelper::istartsWithAnyOf(const std::string &s, const std::vector<std::string> &list) {
for (const std::string& element : list) {
if (boost::algorithm::starts_with(boost::algorithm::to_lower_copy(s), boost::algorithm::to_lower_copy(element)))
return true;