We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0233c41 commit 0321266Copy full SHA for 0321266
include/pybind11/detail/smart_holder_poc.h
@@ -104,10 +104,10 @@ struct smart_holder {
104
bool is_populated : 1;
105
106
// Design choice: smart_holder is movable but not copyable.
107
- smart_holder(smart_holder &&other) = default;
+ smart_holder(smart_holder &&) = default;
108
smart_holder(const smart_holder &) = delete;
109
- smart_holder &operator=(smart_holder &&other) = default;
110
- smart_holder &operator=(const smart_holder &other) = delete;
+ smart_holder &operator=(smart_holder &&) = default;
+ smart_holder &operator=(const smart_holder &) = delete;
111
112
smart_holder()
113
: rtti_uqp_del{nullptr}, vptr_is_using_noop_deleter{false},
0 commit comments