diff --git a/src/crab/wto.cpp b/src/crab/wto.cpp index ee7cf411b..2df211ba6 100644 --- a/src/crab/wto.cpp +++ b/src/crab/wto.cpp @@ -276,7 +276,7 @@ wto_t::wto_t(const cfg_t& cfg) : wto_t{std::move(wto_builder_t(cfg).wto)} {} std::vector wto_t::collect_heads(const label_t& label) { std::vector heads; for (auto h = head(label); h; h = head(*h)) { - heads.emplace_back(*h); + heads.push_back(*h); } return heads; }