We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ac6a38a commit e3b0e64Copy full SHA for e3b0e64
python/core/conversions.sip
@@ -534,13 +534,13 @@ template<double, TYPE2>
534
return NULL;
535
536
// Set the dictionary elements.
537
- QMultiMap<double, TYPE2>::const_iterator i = sipCpp->constBegin();
+ QMultiMap<double, TYPE2>::iterator i = sipCpp->begin();
538
539
- while (i != sipCpp->constEnd())
+ while (i != sipCpp->end())
540
{
541
542
const double t1 = i.key();
543
- const TYPE2 * t2 = &i.value();
+ TYPE2 * t2 = &i.value();
544
PyObject *t1obj = PyFloat_FromDouble(t1);
545
PyObject *t2obj = sipConvertFromInstance(t2, sipClass_TYPE2, sipTransferObj);
546
if (PyDict_GetItem(d, t1obj) == NULL) {
0 commit comments