]> www.ginac.de Git - ginac.git/blobdiff - ginac/archive.h
Happy New Year!
[ginac.git] / ginac / archive.h
index 25a98ad1bed7f6f0363fe5d2e644864a5c7b86b3..53c45437e4e5e439c92d7de92932e418c402af98 100644 (file)
@@ -3,7 +3,7 @@
  *  Archiving of GiNaC expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2011 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
@@ -83,7 +83,6 @@ public:
        };
        typedef std::vector<property>::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<std::string, archive_atom> inverse_atoms;
 
        /** Map of stored expressions to nodes for faster archiving */
-       typedef std::map<ex, archive_node_id, ex_is_less>::iterator mapit;
        mutable std::map<ex, archive_node_id, ex_is_less> exprtable;
 };