X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fcolor.cpp;h=9a364c4395427198a842d765c0c057e34a6200b0;hp=e84dcdba140a82e3a18a832747c6f0f909ce9fed;hb=7dfed2bf4fb42d23410332576dc9fbe14ea154f8;hpb=b4be7b0f30fbb6178cf4ee83e1b3952e084bd8ca diff --git a/ginac/color.cpp b/ginac/color.cpp index e84dcdba..9a364c43 100644 --- a/ginac/color.cpp +++ b/ginac/color.cpp @@ -94,7 +94,7 @@ color::color(unsigned char rl, const exvector & v, bool discardable) : inherited tinfo_key = TINFO_color; } -color::color(unsigned char rl, exvector * vp) : inherited(sy_none(), vp), representation_label(rl) +color::color(unsigned char rl, std::auto_ptr vp) : inherited(sy_none(), vp), representation_label(rl) { tinfo_key = TINFO_color; } @@ -183,7 +183,7 @@ ex color::thiscontainer(const exvector & v) const return color(representation_label, v); } -ex color::thiscontainer(exvector * vp) const +ex color::thiscontainer(std::auto_ptr vp) const { return color(representation_label, vp); }