]> www.ginac.de Git - ginac.git/blobdiff - ginac/parser/default_reader.cpp
Happy New Year!
[ginac.git] / ginac / parser / default_reader.cpp
index 53826ac1fbd62777cb5e3c07b53c331a56a0ef26..62c0a506298a048dbca484c6d23683f02e519f0c 100644 (file)
@@ -4,7 +4,7 @@
  **/
 
 /*
- *  GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -143,8 +143,7 @@ const prototype_table& get_builtin_reader()
                        Order,
                        NFUNCTIONS
                };
-               std::vector<function_options>::const_iterator it =
-                       registered_functions_hack::get_registered_functions().begin();
+               auto it = registered_functions_hack::get_registered_functions().begin();
                unsigned serial = 0;
                for ( ; serial<NFUNCTIONS; ++it, ++serial ) {
                        prototype proto = make_pair(it->get_name(), it->get_nparams());