We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4b68a commit bffa363Copy full SHA for bffa363
extension/module/module.cpp
@@ -232,7 +232,7 @@ ET_NODISCARD runtime::Result<Method*> Module::method(
232
const std::string& method_name) {
233
ET_CHECK_OK_OR_RETURN_ERROR(load_method(method_name));
234
ET_CHECK_OR_RETURN_ERROR(
235
- methods_.count(method_name) > 0,
+ methods_.contains(method_name),
236
InvalidArgument,
237
"no such method in program: %s",
238
method_name.c_str());
0 commit comments