mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
Merge pull request #838 from atgeirr/avoid-pessimizing-move
Do not move when it would disable copy elision.
This commit is contained in:
commit
3e04ef89f4
1 file changed
+1
-1
@@ -699,7 +699,7 @@ namespace Opm
|
||||
SolutionVector dx = newtonIncrement.computeNewtonIncrement( residual );
|
||||
// get number of linear iterations
|
||||
iterations_ = newtonIncrement.iterations();
|
||||
return std::move(dx);
|
||||
return dx;
|
||||
}
|
||||
|
||||
const boost::any& NewtonIterationBlackoilInterleaved::parallelInformation() const
|
||||
|
||||
Reference in new issue
Block a user