Skip to content

Commit 374253f

Browse files
CodemodService Botfacebook-github-bot
authored andcommitted
fbcode//executorch/backends/vulkan:vulkan_graph_runtime [B]
Reviewed By: dtolnay Differential Revision: D79045921
1 parent 00e3f99 commit 374253f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/vulkan/runtime/graph/ops/OperatorRegistry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace vkcompute {
1212

1313
bool OperatorRegistry::has_op(const std::string& name) {
14-
return table_.count(name) > 0;
14+
return table_.contains(name);
1515
}
1616

1717
OperatorRegistry::OpFunction& OperatorRegistry::get_op_fn(

0 commit comments

Comments
 (0)