]> www.ginac.de Git - ginac.git/blobdiff - ginac/ex.cpp
Merge branch 'c++11' in preparation for version 1.7.0.
[ginac.git] / ginac / ex.cpp
index 2fdedfecbf97dabef5af7ee1cacd41f590533e10..4b3b0f3d2b16bc4d3a21e453b8fd604206b3e72f 100644 (file)
@@ -123,7 +123,7 @@ ex ex::subs(const lst & ls, const lst & lr, unsigned options) const
 
        // Convert the lists to a map
        exmap m;
-       for (lst::const_iterator its = ls.begin(), itr = lr.begin(); its != ls.end(); ++its, ++itr) {
+       for (auto its = ls.begin(), itr = lr.begin(); its != ls.end(); ++its, ++itr) {
                m.insert(std::make_pair(*its, *itr));
 
                // Search for products and powers in the expressions to be substituted