]> www.ginac.de Git - ginac.git/blobdiff - ginac/power.cpp
the destructor, copy constructor, and assignment operator (which were the
[ginac.git] / ginac / power.cpp
index 9d224d1b2f07726fa2c28d8f1d8cfc8c7c715fe6..30697335c437e2a88b5415d145652fe473c6809d 100644 (file)
@@ -55,28 +55,6 @@ power::power() : basic(TINFO_power)
        debugmsg("power default constructor",LOGLEVEL_CONSTRUCT);
 }
 
-power::~power()
-{
-       debugmsg("power destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-power::power(const power & other)
-{
-       debugmsg("power copy constructor",LOGLEVEL_CONSTRUCT);
-       copy(other);
-}
-
-const power & power::operator=(const power & other)
-{
-       debugmsg("power operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void power::copy(const power & other)