X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=ginac%2Fcolor.cpp;h=600da082f06a575b41ddd5c63446422289680af3;hb=d85cc82288993d3dce31a9c849458bd576259b15;hp=1fb8e97d40ef2fcb92764cb564d90da10ba9a7c5;hpb=488cad4c124885230154720041bd51fa4d983a8b;p=ginac.git diff --git a/ginac/color.cpp b/ginac/color.cpp index 1fb8e97d..600da082 100644 --- a/ginac/color.cpp +++ b/ginac/color.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's color (SU(3) Lie algebra) objects. */ /* - * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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 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 vp) const { return color(representation_label, vp); }