Skip to content

Commit 0321266

Browse files
committed
Fixing generated by some compilers in the pybind11 CI suite.
1 parent 0233c41 commit 0321266

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/pybind11/detail/smart_holder_poc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ struct smart_holder {
104104
bool is_populated : 1;
105105

106106
// Design choice: smart_holder is movable but not copyable.
107-
smart_holder(smart_holder &&other) = default;
107+
smart_holder(smart_holder &&) = default;
108108
smart_holder(const smart_holder &) = delete;
109-
smart_holder &operator=(smart_holder &&other) = default;
110-
smart_holder &operator=(const smart_holder &other) = delete;
109+
smart_holder &operator=(smart_holder &&) = default;
110+
smart_holder &operator=(const smart_holder &) = delete;
111111

112112
smart_holder()
113113
: rtti_uqp_del{nullptr}, vptr_is_using_noop_deleter{false},

0 commit comments

Comments
 (0)