From 7973293c311e27ff08a1488c9759c1b5b0fda30e Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 5 Jan 2023 13:55:20 +0100 Subject: Added tests --- stringhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stringhelper.cpp') 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 vs, std::stri return s; } -bool Reichwein::Stringhelper::startsWithAnyOfLower(const std::string &s, const std::vector &list) { +bool Reichwein::Stringhelper::istartsWithAnyOf(const std::string &s, const std::vector &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; -- cgit v1.2.3