add missing return

v1
Brett 2023-10-14 18:36:32 -04:00
parent 4f4ed1918b
commit 88ef415f8b
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ namespace blt::string
static inline bool contains(const std::string& string, const char search) static inline bool contains(const std::string& string, const char search)
{ {
std::ranges::any_of(string, [search](const char c) -> bool { return std::ranges::any_of(string, [search](const char c) -> bool {
return c == search; return c == search;
}); });
} }