Skip to content

Commit 793a821

Browse files
committed
Fix string_utils use of contains
1 parent fb92976 commit 793a821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/string_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ namespace mstr {
8888
};
8989

9090
for (auto it = begin (names); it != end (names); ++it) {
91-
if (s.contains(it->c_str()))
91+
if (contains(s, it->c_str()))
9292
return true;
9393
}
9494

0 commit comments

Comments
 (0)