]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.h
Removed debugging code.
[ginac.git] / ginac / color.h
index 3af0c5c2cf7c81a5af3e4648ec65a49c58cb3790..8ff75442fa608de3dfe2c58861450837973314fc 100644 (file)
@@ -47,14 +47,14 @@ public:
 
        // internal constructors
        color(unsigned char rl, const exvector & v, bool discardable = false);
-       color(unsigned char rl, exvector * vp); // vp will be deleted
+       color(unsigned char rl, std::auto_ptr<exvector> vp);
 
        // functions overriding virtual functions from base classes
 protected:
        ex eval_ncmul(const exvector & v) const;
        bool match_same_type(const basic & other) const;
        ex thiscontainer(const exvector & v) const;
-       ex thiscontainer(exvector * vp) const;
+       ex thiscontainer(std::auto_ptr<exvector> vp) const;
        unsigned return_type() const { return return_types::noncommutative; }
        unsigned return_type_tinfo() const { return TINFO_color + representation_label; }