summaryrefslogtreecommitdiff
path: root/src/spawn_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spawn_sync.h')
-rw-r--r--src/spawn_sync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn_sync.h b/src/spawn_sync.h
index 397e62b9d2..5b04d94b47 100644
--- a/src/spawn_sync.h
+++ b/src/spawn_sync.h
@@ -203,7 +203,7 @@ class SyncProcessRunner {
uint32_t stdio_count_;
uv_stdio_container_t* uv_stdio_containers_;
- std::unique_ptr<std::unique_ptr<SyncProcessStdioPipe>[]> stdio_pipes_;
+ std::vector<std::unique_ptr<SyncProcessStdioPipe>> stdio_pipes_;
bool stdio_pipes_initialized_;
uv_process_options_t uv_process_options_;