mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +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);
|
||||
}
|
||||
|
||||
pythonbuf(pythonbuf&&) = default;
|
||||
|
||||
/// Sync before destroy
|
||||
~pythonbuf() {
|
||||
sync();
|
||||
|
Loading…
Reference in New Issue
Block a user