X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fcolor.h;h=8ff75442fa608de3dfe2c58861450837973314fc;hp=3af0c5c2cf7c81a5af3e4648ec65a49c58cb3790;hb=eefedc70f63222beca918a3df89cabac700df1eb;hpb=488cad4c124885230154720041bd51fa4d983a8b diff --git a/ginac/color.h b/ginac/color.h index 3af0c5c2..8ff75442 100644 --- a/ginac/color.h +++ b/ginac/color.h @@ -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 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 vp) const; unsigned return_type() const { return return_types::noncommutative; } unsigned return_type_tinfo() const { return TINFO_color + representation_label; }