Commit 8691ce6e authored by captainwong's avatar captainwong

fix std_util

parent 71e6f46b
...@@ -7,7 +7,7 @@ namespace jlib { ...@@ -7,7 +7,7 @@ namespace jlib {
template <class C, class T> template <class C, class T>
inline bool is_contain(const C& c, const T& t) { inline bool is_contain(const C& c, const T& t) {
for (const auto& i : C) { for (const auto& i : c) {
if (i == t) { return true; } if (i == t) { return true; }
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment