diff --git a/Sources/Core/PipeStream.cpp b/Sources/Core/PipeStream.cpp index 814a3b6e..2095cf10 100644 --- a/Sources/Core/PipeStream.cpp +++ b/Sources/Core/PipeStream.cpp @@ -153,9 +153,6 @@ namespace spades { std::tuple CreatePipeStream() { auto state = std::make_shared(); - return { - new PipeWriter(state), - new PipeReader(state), - }; + return std::make_tuple(new PipeWriter(state), new PipeReader(state)); } } // namespace spades