mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
stl.h fix for std::map (see PR #43)
This commit is contained in:
parent
1546b85797
commit
9d573f44b9
@ -110,7 +110,7 @@ public:
|
||||
while (PyDict_Next(src, &pos, &key_, &value_)) {
|
||||
if (!kconv.load(key_, convert) || !vconv.load(value_, convert))
|
||||
return false;
|
||||
value[kconv] = vconv;
|
||||
value[(Key) kconv] = (Value) vconv;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user