add missing return
parent
4f4ed1918b
commit
88ef415f8b
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue