diff --git a/library/include/larra/printer_stream.hpp b/library/include/larra/printer_stream.hpp index d2cfdba..ecbc30f 100644 --- a/library/include/larra/printer_stream.hpp +++ b/library/include/larra/printer_stream.hpp @@ -35,6 +35,8 @@ template struct PrintStream : Socket { using Socket::Socket; PrintStream(PrintStream&&) = default; + constexpr PrintStream(Socket&& sock) : Socket(std::move(sock)) { + } using Executor = Socket::executor_type; template