mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 00:22:00 +00:00
quiet clang warning by adding default move ctor (#1821)
This commit is contained in:
parent
a301c5add8
commit
dffe869dba
@ -64,6 +64,8 @@ public:
|
|||||||
setp(d_buffer.get(), d_buffer.get() + buf_size - 1);
|
setp(d_buffer.get(), d_buffer.get() + buf_size - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pythonbuf(pythonbuf&&) = default;
|
||||||
|
|
||||||
/// Sync before destroy
|
/// Sync before destroy
|
||||||
~pythonbuf() {
|
~pythonbuf() {
|
||||||
sync();
|
sync();
|
||||||
|
Loading…
Reference in New Issue
Block a user