X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Farchive.h;h=d24149301bf5b789b77c23f09927aa44d2bc117f;hp=d2334d9884a53adff0749c366a2c978dbdeb8f17;hb=51c4b683827bc6fc427cb5c8ca789a4c9465e021;hpb=cca88b51436e4b654d16a4d60cd0d1c66fcf5dd6 diff --git a/ginac/archive.h b/ginac/archive.h index d2334d98..d2414930 100644 --- a/ginac/archive.h +++ b/ginac/archive.h @@ -3,7 +3,7 @@ * Archiving of GiNaC expressions. */ /* - * GiNaC Copyright (C) 1999-2014 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2018 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 @@ -83,7 +83,6 @@ public: }; typedef std::vector::const_iterator archive_node_cit; - archive_node() : a(*dummy_ar_creator()), has_expression(false) {} // hack for cint which always requires a default constructor archive_node(archive &ar) : a(ar), has_expression(false) {} archive_node(archive &ar, const ex &expr); @@ -143,8 +142,6 @@ public: void printraw(std::ostream &os) const; private: - static archive* dummy_ar_creator(); - /** Reference to the archive to which this node belongs. */ archive &a; @@ -329,7 +326,6 @@ private: mutable std::map inverse_atoms; /** Map of stored expressions to nodes for faster archiving */ - typedef std::map::iterator mapit; mutable std::map exprtable; };