X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Findexed.cpp;h=50e3b01b60b83cbd6b77f5d8cfc0175e19c302dc;hp=562ca1d5c6c0bd95dbc0584df003b11cf1b505be;hb=69cf20e8ee183eadfe457af33dc88a9f568038e8;hpb=13896261ee985f23e5b5648532e70f0cce704ede diff --git a/ginac/indexed.cpp b/ginac/indexed.cpp index 562ca1d5..50e3b01b 100644 --- a/ginac/indexed.cpp +++ b/ginac/indexed.cpp @@ -129,7 +129,7 @@ indexed::indexed(const symmetry & symm, const exvector & v, bool discardable) : tinfo_key = TINFO_indexed; } -indexed::indexed(const symmetry & symm, exvector * vp) : inherited(vp), symtree(symm) +indexed::indexed(const symmetry & symm, std::auto_ptr vp) : inherited(vp), symtree(symm) { tinfo_key = TINFO_indexed; } @@ -316,7 +316,7 @@ ex indexed::thiscontainer(const exvector & v) const return indexed(ex_to(symtree), v); } -ex indexed::thiscontainer(exvector * vp) const +ex indexed::thiscontainer(std::auto_ptr vp) const { return indexed(ex_to(symtree), vp); }