From dffe869dba4a305ec1d822aea8b21ff406fb8513 Mon Sep 17 00:00:00 2001 From: Thomas Peters Date: Mon, 15 Jul 2019 10:16:14 -0400 Subject: [PATCH] quiet clang warning by adding default move ctor (#1821) --- include/pybind11/iostream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pybind11/iostream.h b/include/pybind11/iostream.h index 72baef8fd..c43b7c93a 100644 --- a/include/pybind11/iostream.h +++ b/include/pybind11/iostream.h @@ -64,6 +64,8 @@ public: setp(d_buffer.get(), d_buffer.get() + buf_size - 1); } + pythonbuf(pythonbuf&&) = default; + /// Sync before destroy ~pythonbuf() { sync();