Fix to build with GCC 4.9

This commit is contained in:
yvt 2019-05-19 17:09:42 +09:00
parent 720be50ff4
commit a17a8f7b16
No known key found for this signature in database
GPG Key ID: 48F2768FA8D07C92

View File

@ -153,9 +153,6 @@ namespace spades {
std::tuple<IStream *, IStream *> CreatePipeStream() {
auto state = std::make_shared<State>();
return {
new PipeWriter(state),
new PipeReader(state),
};
return std::make_tuple(new PipeWriter(state), new PipeReader(state));
}
} // namespace spades