Use the standard library move
function.
We're on C++14, so we can just the standard library move
function.
Also, avoid calling move
in cases where it's actually a pessimization, see e.g. https://reviews.llvm.org/D7633.
r? @lhermitte
The copyright owner is Laurențiu Nicola / CS ROMANIA and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commit