]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.cpp
"return" statement was missing in yyerror()
[ginac.git] / ginac / color.cpp
index bb0837de859adb2fb5bc7d95aad9cca570c0e5d1..f2360c3d460510d11f0c3ed65bacc0f2a395103a 100644 (file)
@@ -54,28 +54,6 @@ color::color() : inherited(TINFO_color), type(invalid), representation_label(0)
        debugmsg("color default constructor",LOGLEVEL_CONSTRUCT);
 }
 
-color::~color()
-{
-       debugmsg("color destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-color::color(const color & other)
-{
-       debugmsg("color copy constructor",LOGLEVEL_CONSTRUCT);
-       copy (other);
-}
-
-const color & color::operator=(const color & other)
-{
-       debugmsg("color operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void color::copy(const color & other)
@@ -203,12 +181,6 @@ void color::archive(archive_node &n) const
 
 // public
 
-basic * color::duplicate() const
-{
-       debugmsg("color duplicate",LOGLEVEL_DUPLICATE);
-       return new color(*this);
-}
-
 void color::printraw(std::ostream & os) const
 {
        debugmsg("color printraw",LOGLEVEL_PRINT);
@@ -648,29 +620,6 @@ bool color::all_of_type_coloridx(void) const
        return true;
 }
 
-//////////
-// virtual functions which can be overridden by derived classes
-//////////
-
-// none
-
-//////////
-// non-virtual functions in this class
-//////////
-
-//////////
-// static member variables
-//////////
-
-// none
-
-//////////
-// global constants
-//////////
-
-const color some_color;
-const std::type_info & typeid_color = typeid(some_color);
-
 //////////
 // friend functions
 //////////