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=6d7bf9ee5a7ce05cb3a23dae664e781d7325d7b8;hpb=13896261ee985f23e5b5648532e70f0cce704ede 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); }