X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Ffderivative.cpp;h=4229d0ab4eff471739b6678132f254b7aaee3bc6;hp=ae73eb489421f524bb0ed5c2d8928620a7d29438;hb=345f0c93051c01cdb5ab879b57f70118978fa9d0;hpb=1602530f716ba1d425a0667b897182b99c374823 diff --git a/ginac/fderivative.cpp b/ginac/fderivative.cpp index ae73eb48..4229d0ab 100644 --- a/ginac/fderivative.cpp +++ b/ginac/fderivative.cpp @@ -3,7 +3,7 @@ * Implementation of abstract derivatives of functions. */ /* - * GiNaC Copyright (C) 1999-2009 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2015 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 @@ -55,7 +55,7 @@ fderivative::fderivative(unsigned ser, const paramset & params, const exvector & { } -fderivative::fderivative(unsigned ser, const paramset & params, std::auto_ptr vp) : function(ser, vp), parameter_set(params) +fderivative::fderivative(unsigned ser, const paramset & params, exvector && v) : function(ser, std::move(v)), parameter_set(params) { } @@ -176,9 +176,9 @@ ex fderivative::thiscontainer(const exvector & v) const return fderivative(serial, parameter_set, v); } -ex fderivative::thiscontainer(std::auto_ptr vp) const +ex fderivative::thiscontainer(exvector && v) const { - return fderivative(serial, parameter_set, vp); + return fderivative(serial, parameter_set, std::move(v)); } /** Implementation of ex::diff() for derivatives. It applies the chain rule.