From f4e1d7c97e518f4f5bd2c8081abc99cb5422aba1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 2 Feb 2019 17:38:12 -0800 Subject: [PATCH] Satisfy the compiler harder --- src/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.cpp b/src/io.cpp index a8246504c..51ce05e89 100644 --- a/src/io.cpp +++ b/src/io.cpp @@ -306,7 +306,7 @@ maybe_t make_autoclose_pipes(const io_chain_t &ios) { autoclose_pipes_t result; result.read = autoclose_fd_t(pipes[0]); result.write = autoclose_fd_t(pipes[1]); - return result; + return maybe_t{std::move(result)}; } /// Return the last IO for the given fd.