mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-02 13:15:52 +08:00
.. and another one
This commit is contained in:
parent
f3be07c661
commit
cc4e4065b3
@ -242,7 +242,7 @@ struct buffer_info {
|
|||||||
(*this) = std::move(other);
|
(*this) = std::move(other);
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer_info& operator=(buffer_info &&rhs){
|
buffer_info& operator=(buffer_info &&rhs) {
|
||||||
ptr = rhs.ptr;
|
ptr = rhs.ptr;
|
||||||
itemsize = rhs.itemsize;
|
itemsize = rhs.itemsize;
|
||||||
size = rhs.size;
|
size = rhs.size;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user