summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index 03cde4347..054f442dc 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -341,7 +341,7 @@ Ref Wasm2JSBuilder::processWasm(Module* wasm, Name funcName) {
// First, do the lowering to a JS-friendly subset.
{
PassRunner runner(wasm, options);
- runner.add(make_unique<AutoDrop>());
+ runner.add(std::make_unique<AutoDrop>());
// TODO: only legalize if necessary - emscripten would already do so, and
// likely other toolchains. but spec test suite needs that.
runner.add("legalize-js-interface");