[bugfix][pointsource] Do not move a variable that is still used afterwards

Merged Timo Koch requested to merge bugfix/pointsource-do-not-move-variable-still-in-use into master

Fixes #899 (closed). Fixes a bug due std::move introduced in commit 9443c57c with MR !2184 (merged).

Edited by Timo Koch

Merge request reports