diff --git a/include/blt/std/string.h b/include/blt/std/string.h index f20f2fe..6a6e476 100755 --- a/include/blt/std/string.h +++ b/include/blt/std/string.h @@ -91,7 +91,7 @@ namespace blt::string 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; }); }