We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 156332c commit 9be164eCopy full SHA for 9be164e
include/pybind11/iostream.h
@@ -185,7 +185,7 @@ class scoped_ostream_redirect {
185
}
186
187
scoped_ostream_redirect(const scoped_ostream_redirect &) = delete;
188
- scoped_ostream_redirect(scoped_ostream_redirect &&other)
+ scoped_ostream_redirect(scoped_ostream_redirect &&other) noexcept
189
: old(other.old), costream(other.costream), buffer(std::move(other.buffer)) {
190
other.old = nullptr; // Disarm moved-from destructor
191
costream.rdbuf(&buffer); // Re-point stream to our buffer
0 commit comments