X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fregistrar.cpp;h=b051ec4f15512c78d2f8f30b46bb1f2fb4191369;hb=ec64e556734484ca3c518e6de95b26be61bedee7;hp=5a4d8903660fd74a14e28682634790878e404188;hpb=09988aee53a2bfef87fc887a434b4c78d6326c47;p=ginac.git diff --git a/ginac/registrar.cpp b/ginac/registrar.cpp index 5a4d8903..b051ec4f 100644 --- a/ginac/registrar.cpp +++ b/ginac/registrar.cpp @@ -3,7 +3,7 @@ * GiNaC's class registrar (for class basic and all classes derived from it). */ /* - * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2019 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 @@ -20,22 +20,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "registrar.h" + #include #include - -#include "registrar.h" +#include namespace GiNaC { -std::type_info const* 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