Index: src/wasm/wasm-interpreter.cc |
diff --git a/src/wasm/wasm-interpreter.cc b/src/wasm/wasm-interpreter.cc |
index 4bb215a51ac2e7f13d7dc677def634abe16b052b..d6e63d18be957b7b9935f1068ece1c9f1077498a 100644 |
--- a/src/wasm/wasm-interpreter.cc |
+++ b/src/wasm/wasm-interpreter.cc |
@@ -1778,7 +1778,7 @@ class WasmInterpreterInternals : public ZoneObject { |
codemap_(env.instance ? env.instance->module : nullptr, |
module_bytes_.data(), zone), |
threads_(zone) { |
- threads_.push_back(ThreadImpl(zone, &codemap_, env.instance)); |
+ threads_.emplace_back(zone, &codemap_, env.instance); |
} |
void Delete() { threads_.clear(); } |