diff options
Diffstat (limited to 'src/wasm-module-building.h')
-rw-r--r-- | src/wasm-module-building.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-module-building.h b/src/wasm-module-building.h index 3cdebc558..1d181277f 100644 --- a/src/wasm-module-building.h +++ b/src/wasm-module-building.h @@ -139,7 +139,7 @@ public: private: void createWorker() { DEBUG_THREAD("create a worker"); - threads.emplace_back(std::unique_ptr<std::thread>(new std::thread(workerMain, this))); + threads.emplace_back(make_unique<std::thread>(workerMain, this)); } void wakeWorker() { |