mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
fix regression in stl.h
This commit is contained in:
parent
2983d5e1de
commit
92b2f452f0
@ -77,7 +77,7 @@ public:
|
||||
pybind11::set s;
|
||||
for (auto const &value: src) {
|
||||
object value_ = object(key_conv::cast(value, policy, parent), false);
|
||||
if (!value_ || !s.add(value))
|
||||
if (!value_ || !s.add(value_))
|
||||
return handle();
|
||||
}
|
||||
return s.release();
|
||||
|
Loading…
Reference in New Issue
Block a user