stl.h fix for std::map (see PR #43)

This commit is contained in:
Wenzel Jakob 2015-12-26 13:37:59 +01:00
parent 1546b85797
commit 9d573f44b9

View File

@ -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;
}