]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.cpp
mention the "dummy()" function option
[ginac.git] / ginac / color.cpp
index 1fb8e97d40ef2fcb92764cb564d90da10ba9a7c5..9a364c4395427198a842d765c0c057e34a6200b0 100644 (file)
@@ -32,7 +32,6 @@
 #include "mul.h"
 #include "power.h" // for sqrt()
 #include "symbol.h"
-#include "print.h"
 #include "archive.h"
 #include "utils.h"
 
@@ -95,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;
 }
@@ -184,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);
 }