]> www.ginac.de Git - ginac.git/blobdiff - ginac/pseries.cpp
Use C++11 'auto' and range-based for loops where possible.
[ginac.git] / ginac / pseries.cpp
index 2ea4365f57324d868b6e956e9e6d940b92c52fa6..899a8599d8f33c4cc7485971defb5bae2ac3af84 100644 (file)
@@ -281,7 +281,7 @@ int pseries::compare_same_type(const basic & other) const
                return cmpval;
        
        // ...and if that failed the individual elements
-       epvector::const_iterator it = seq.begin(), o_it = o.seq.begin();
+       auto it = seq.begin(), o_it = o.seq.begin();
        while (it!=seq.end() && o_it!=o.seq.end()) {
                cmpval = it->compare(*o_it);
                if (cmpval)