]> www.ginac.de Git - ginac.git/blobdiff - ginac/lst.cpp
* Fix some language conformance issues needed for GCC 4.0
[ginac.git] / ginac / lst.cpp
index f457f4a406fff3c2219e3a93e798f14e074a1efe..0621ce68fd644e43cf4dd625c128d97c8dfa35d4 100644 (file)
@@ -3,7 +3,7 @@
  *  Implementation of GiNaC's lst. */
 
 /*
- *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 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
@@ -29,7 +29,7 @@ template <> GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(lst, basic,
   print_func<print_tree>(&lst::do_print_tree))
 
 /** Specialization of container::info() for lst. */
-bool lst::info(unsigned inf) const
+template <> bool lst::info(unsigned inf) const
 {
        if (inf == info_flags::list)
                return true;