Dynare++: remove useless call to std::move() that prevents copy elision

time-shift
Sébastien Villemot 2019-06-25 11:10:18 +02:00
parent cb0e84a2c4
commit 7e274d8234
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ KronProdAll::multRows(const IntSequence &irows) const
last = std::make_unique<Vector>(*row);
}
return std::move(last);
return last;
}
/* This permutes the matrices so that the new ordering would minimize memory