From 47656f508b5d300e7563af73fbf353bc0dd0a4c1 Mon Sep 17 00:00:00 2001 From: Richard Gao Date: Thu, 5 Sep 2024 14:47:19 -0700 Subject: [PATCH] simplify bb name --- src/builder.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/builder.cc b/src/builder.cc index d96eabf9..9916fe3f 100644 --- a/src/builder.cc +++ b/src/builder.cc @@ -228,11 +228,7 @@ void Builder::run() { } std::vector Builder::bb_names(void) { - std::vector names; - for (auto n : Halide::Internal::GeneratorRegistry::enumerate()) { - names.push_back(n); - } - return names; + return Halide::Internal::GeneratorRegistry::enumerate(); } std::vector Builder::bb_arginfos(const std::string& name) {