X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Findexed.h;h=30c29e8e167e3fa788ceead1e9c446b596e232a4;hb=8dc09f48182574d792a2ed7c37b66831d9267a6c;hp=d798107f8cf31eb23ac272cfb89e136a3e9ac1f0;hpb=f5e84af31b20c7f732bee375bacc152e7fb01e56;p=ginac.git diff --git a/ginac/indexed.h b/ginac/indexed.h index d798107f..30c29e8e 100644 --- a/ginac/indexed.h +++ b/ginac/indexed.h @@ -140,7 +140,7 @@ public: // internal constructors indexed(const symmetry & symm, const exprseq & es); indexed(const symmetry & symm, const exvector & v, bool discardable = false); - indexed(const symmetry & symm, exvector * vp); // vp will be deleted + indexed(const symmetry & symm, std::auto_ptr vp); // functions overriding virtual functions from base classes public: @@ -152,7 +152,7 @@ public: protected: ex derivative(const symbol & s) const; ex thiscontainer(const exvector & v) const; - ex thiscontainer(exvector * vp) const; + ex thiscontainer(std::auto_ptr vp) const; unsigned return_type() const { return return_types::commutative; } ex expand(unsigned options = 0) const;