]> www.ginac.de Git - ginac.git/blobdiff - ginac/parser/parser.cpp
Use C++11 'auto' and range-based for loops where possible.
[ginac.git] / ginac / parser / parser.cpp
index fe4e1747512f60924274286cd363df244c9be7d8..cdfc5af6f3f2b21c61710342bd8fade71fd0af26 100644 (file)
@@ -93,7 +93,7 @@ ex parser::parse_identifier_expr()
        // Eat the ')'.
        get_next_tok();
        prototype the_prototype = make_pair(name, args.size());
-       prototype_table::const_iterator reader = funcs.find(the_prototype);
+       auto reader = funcs.find(the_prototype);
        if (reader == funcs.end()) {
                Parse_error_("no function \"" << name << "\" with " <<
                             args.size() << " arguments");