X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fex.cpp;h=0d0657a52302df50ca2092c288fb56560695be41;hp=b6b968595e05e662aa89e2b89c0aefd4a274fbef;hb=8ec260eb4c387a63c5013cdd325bc239e25e273a;hpb=aa6281216091efd92dc5fcc3f96c7189114e80f1 diff --git a/ginac/ex.cpp b/ginac/ex.cpp index b6b96859..0d0657a5 100644 --- a/ginac/ex.cpp +++ b/ginac/ex.cpp @@ -215,7 +215,7 @@ void ex::makewriteable() void ex::construct_from_basic(const basic & other) { if (!(other.flags & status_flags::evaluated)) { - const ex & tmpex(other.eval(1)); // evaluate only one (top) level + const ex & tmpex = other.eval(1); // evaluate only one (top) level bp = tmpex.bp; GINAC_ASSERT(bp->flags & status_flags::dynallocated); ++bp->refcount;