summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wasm-module-building.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-module-building.h b/src/wasm-module-building.h
index 2303ec3d1..fe58cd4b8 100644
--- a/src/wasm-module-building.h
+++ b/src/wasm-module-building.h
@@ -199,7 +199,7 @@ public:
private:
void createWorker() {
DEBUG_THREAD("create a worker");
- threads.emplace_back(make_unique<std::thread>(workerMain, this));
+ threads.emplace_back(std::make_unique<std::thread>(workerMain, this));
}
void notifyWorker() {