registered_class_info: use typeid() instead of tinfo_static.
[ginac.git] / ginac / registrar.cpp
index 369b89420527a9d3773acbf0fefa090dee571ae1..5a4d8903660fd74a14e28682634790878e404188 100644 (file)
@@ -28,7 +28,7 @@
 
 namespace GiNaC {
 
-tinfo_t 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();
 }