mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 01:10:34 +00:00
fix regression in stl.h
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user