X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fnormal.cpp;h=e30afda6b941b90b4f1ee97aa59595d2e4bb9c0a;hp=c6dc39e6b0ef1d4108a5dcfeb4628054f3b5a9f4;hb=24064b43ff0aebda40b1b4605fa6abc2920b4518;hpb=34f23dc638fba5905a1edb3ebcaf99d6eedabf3c diff --git a/ginac/normal.cpp b/ginac/normal.cpp index c6dc39e6..e30afda6 100644 --- a/ginac/normal.cpp +++ b/ginac/normal.cpp @@ -1210,7 +1210,7 @@ ex add::smod(const numeric &xi) const } GINAC_ASSERT(is_exactly_a(overall_coeff)); numeric coeff = GiNaC::smod(ex_to(overall_coeff), xi); - return (new add(newseq,coeff))->setflag(status_flags::dynallocated); + return (new add(std::move(newseq), coeff))->setflag(status_flags::dynallocated); } ex mul::smod(const numeric &xi) const