]> www.ginac.de Git - ginac.git/blobdiff - ginac/archive.h
Remove support for Cint.
[ginac.git] / ginac / archive.h
index 5969b00c1d4c3c5c57da4d61d8f27b94977ec9e1..407581aea6b0d865724f0da630f022ee2a552f6b 100644 (file)
@@ -3,7 +3,7 @@
  *  Archiving of GiNaC expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2015 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
  */
 
-#ifndef __GINAC_ARCHIVE_H__
-#define __GINAC_ARCHIVE_H__
+#ifndef GINAC_ARCHIVE_H
+#define GINAC_ARCHIVE_H
 
 #include "ex.h"
 
 #include <iosfwd>
+#include <map>
 #include <string>
 #include <vector>
-#include <map>
 
 namespace GiNaC {
 
@@ -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;
 
@@ -337,7 +334,6 @@ private:
 std::ostream &operator<<(std::ostream &os, const archive &ar);
 std::istream &operator>>(std::istream &is, archive &ar);
 
-
 } // namespace GiNaC
 
-#endif // ndef __GINAC_ARCHIVE_H__
+#endif // ndef GINAC_ARCHIVE_H