]> www.ginac.de Git - ginac.git/blobdiff - ginac/add.cpp
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / add.cpp
index 74a373283a033687efbb73b55d5693987f2b34be..574a8e8ec662eb96e71f5414dcce322a4e59776b 100644 (file)
@@ -47,28 +47,6 @@ add::add()
        tinfo_key = TINFO_add;
 }
 
-add::~add()
-{
-       debugmsg("add destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-add::add(const add & other)
-{
-       debugmsg("add copy constructor",LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const add & add::operator=(const add & other)
-{
-       debugmsg("add operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void add::copy(const add & other)