diff --git a/Lib/python/pyname_compat.i b/Lib/python/pyname_compat.i index 96af343ca..dc276e686 100644 --- a/Lib/python/pyname_compat.i +++ b/Lib/python/pyname_compat.i @@ -34,7 +34,7 @@ %inline %{ #define PyMapIterator_T SwigPyMapIterator_T #define PyMapKeyIterator_T SwigPyMapKeyIterator_T -#define PyMapValueIterator_T SwigPyMapValueITerator_T +#define PyMapValueIterator_T SwigPyMapValueIterator_T #define PyObject_ptr SwigPtr_PyObject #define PyObject_var SwigVar_PyObject #define PyOper SwigPyOper diff --git a/Lib/python/std_map.i b/Lib/python/std_map.i index f61f79c44..781c4d498 100644 --- a/Lib/python/std_map.i +++ b/Lib/python/std_map.i @@ -56,9 +56,9 @@ template > - struct SwigPyMapValueITerator_T : SwigPyMapIterator_T + struct SwigPyMapValueIterator_T : SwigPyMapIterator_T { - SwigPyMapValueITerator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq) + SwigPyMapValueIterator_T(OutIterator curr, OutIterator first, OutIterator last, PyObject *seq) : SwigPyMapIterator_T(curr, first, last, seq) { } @@ -69,7 +69,7 @@ inline SwigPyIterator* make_output_value_iterator(const OutIter& current, const OutIter& begin, const OutIter& end, PyObject *seq = 0) { - return new SwigPyMapValueITerator_T(current, begin, end, seq); + return new SwigPyMapValueIterator_T(current, begin, end, seq); } } }