]> www.ginac.de Git - ginac.git/blobdiff - ginac/registrar.cpp
Fix the compliation error *for real* ... and restore performance
[ginac.git] / ginac / registrar.cpp
index 992e7ac2b5068537dd2572ad0a3810d02f39dde8..f3efa28d76cdbacb37ab37b1376aef0d233c7340 100644 (file)
@@ -3,7 +3,7 @@
  *  GiNaC's class registrar (for class basic and all classes derived from it). */
 
 /*
- *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2009 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
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <string>
+#include "registrar.h"
+
 #include <map>
 #include <stdexcept>
-
-#include "registrar.h"
+#include <string>
 
 namespace GiNaC {
 
-unsigned find_tinfo_key(const std::string &class_name)
-{
-       return registered_class_info::find(class_name)->options.get_id();
-}
-
-unarch_func find_unarch_func(const std::string &class_name)
-{
-       return registered_class_info::find(class_name)->options.get_unarch_func();
-}
-
 } // namespace GiNaC