summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/wasm-reduce.cpp4
-rw-r--r--src/tools/wasm2js.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp
index 078eca648..f3f252477 100644
--- a/src/tools/wasm-reduce.cpp
+++ b/src/tools/wasm-reduce.cpp
@@ -352,7 +352,7 @@ struct Reducer
}
void loadWorking() {
- module = make_unique<Module>();
+ module = std::make_unique<Module>();
ModuleReader reader;
try {
reader.read(working, *module);
@@ -371,7 +371,7 @@ struct Reducer
// Apply features the user passed on the commandline.
toolOptions.applyFeatures(*module);
- builder = make_unique<Builder>(*module);
+ builder = std::make_unique<Builder>(*module);
setModule(module.get());
}
diff --git a/src/tools/wasm2js.cpp b/src/tools/wasm2js.cpp
index 79eee56a0..1c2606b6a 100644
--- a/src/tools/wasm2js.cpp
+++ b/src/tools/wasm2js.cpp
@@ -981,14 +981,14 @@ int main(int argc, const char* argv[]) {
if (options.debug) {
std::cerr << "s-parsing..." << std::endl;
}
- sexprParser = make_unique<SExpressionParser>(input.data());
+ sexprParser = std::make_unique<SExpressionParser>(input.data());
root = sexprParser->root;
if (options.debug) {
std::cerr << "w-parsing..." << std::endl;
}
- sexprBuilder =
- make_unique<SExpressionWasmBuilder>(wasm, *(*root)[0], options.profile);
+ sexprBuilder = std::make_unique<SExpressionWasmBuilder>(
+ wasm, *(*root)[0], options.profile);
}
} catch (ParseException& p) {
p.dump(std::cerr);