]> www.ginac.de Git - ginac.git/blobdiff - check/exam_structure.cpp
[C++20] Clean up using-declarations.
[ginac.git] / check / exam_structure.cpp
index 57f5f39fc6e975a68c944cad16858dda24394607..ecb2e8033c27b56428178d173eaf1b9ab09e064a 100644 (file)
@@ -3,7 +3,7 @@
  *  Small test for the structure<> template. */
 
 /*
- *  GiNaC Copyright (C) 1999-2014 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2020 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
@@ -58,7 +58,7 @@ template <> void sprod::print(const print_context & c, unsigned level) const
        c.s << "<" << sp.left << "|" << sp.right << ">";
 }
 
-template <> ex sprod::eval(int level) const
+template <> ex sprod::eval() const
 {
        // symmetric scalar product
        const sprod_s & sp = get_struct();