]> www.ginac.de Git - ginac.git/blobdiff - ginac/registrar.cpp
registered_class_info: use typeid() instead of tinfo_static.
[ginac.git] / ginac / registrar.cpp
index cc12f6033286581190a2606b0016580e7df5751c..5a4d8903660fd74a14e28682634790878e404188 100644 (file)
@@ -3,7 +3,7 @@
  *  GiNaC's class registrar (for class basic and all classes derived from it). */
 
 /*
- *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2008 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
@@ -17,7 +17,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <string>
@@ -28,7 +28,7 @@
 
 namespace GiNaC {
 
-unsigned find_tinfo_key(const std::string &class_name)
+std::type_info const* find_tinfo_key(const std::string &class_name)
 {
        return registered_class_info::find(class_name)->options.get_id();
 }