]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.cpp
* Oops, forgot to cvs add the two new files in last commit.
[ginac.git] / ginac / color.cpp
index e84dcdba140a82e3a18a832747c6f0f909ce9fed..9a364c4395427198a842d765c0c057e34a6200b0 100644 (file)
@@ -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<exvector> 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<exvector> vp) const
 {
        return color(representation_label, vp);
 }