X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fadd.h;h=5fe05d9587c810c76a9905c5648ee0e1c42e144c;hp=d636d0ad1026f272c8721443a9d2e9cad7cc9627;hb=4a6052cb1463b48f2a3db01031f28a1530bc32c3;hpb=f5e84af31b20c7f732bee375bacc152e7fb01e56 diff --git a/ginac/add.h b/ginac/add.h index d636d0ad..5fe05d95 100644 --- a/ginac/add.h +++ b/ginac/add.h @@ -3,7 +3,7 @@ * Interface to GiNaC's sums of expressions. */ /* - * 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 @@ -41,7 +41,7 @@ public: add(const exvector & v); add(const epvector & v); add(const epvector & v, const ex & oc); - add(epvector * vp, const ex & oc); + add(std::auto_ptr vp, const ex & oc); // functions overriding virtual functions from base classes public: @@ -64,7 +64,7 @@ protected: unsigned return_type() const; unsigned return_type_tinfo() const; ex thisexpairseq(const epvector & v, const ex & oc) const; - ex thisexpairseq(epvector * vp, const ex & oc) const; + ex thisexpairseq(std::auto_ptr vp, const ex & oc) const; expair split_ex_to_pair(const ex & e) const; expair combine_ex_with_coeff_to_pair(const ex & e, const ex & c) const;