From faadb8c7c7b40ca69a2459942704ec287e59f3be Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 26 Jan 2017 10:52:12 +0100 Subject: [PATCH] win: damn it --- src/uvw/process.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uvw/process.hpp b/src/uvw/process.hpp index 783cd10c..eb383d1f 100644 --- a/src/uvw/process.hpp +++ b/src/uvw/process.hpp @@ -75,8 +75,8 @@ public: ProcessHandle(ConstructorAccess ca, std::shared_ptr ref) : Handle{std::move(ca), std::move(ref)} { - auto ignore = static_cast(StdIO::IGNORE_STREAM); - uv_stdio_container_t stdin{ignore}; + uv_stdio_container_t stdin; + stdin.flags = static_cast(StdIO::IGNORE_STREAM); poFdStdio.push_back(std::move(stdin)); }