Commit 92b2f452 authored by Wenzel Jakob's avatar Wenzel Jakob
Browse files

fix regression in stl.h

parent 2983d5e1
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment