We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c80355 commit c8f28e4Copy full SHA for c8f28e4
src/iso19111/operation/singleoperation.cpp
@@ -218,8 +218,8 @@ CoordinateOperation::targetCoordinateEpoch() const {
218
219
void CoordinateOperation::setWeakSourceTargetCRS(
220
std::weak_ptr<crs::CRS> sourceCRSIn, std::weak_ptr<crs::CRS> targetCRSIn) {
221
- d->sourceCRSWeak_ = sourceCRSIn;
222
- d->targetCRSWeak_ = targetCRSIn;
+ d->sourceCRSWeak_ = std::move(sourceCRSIn);
+ d->targetCRSWeak_ = std::move(targetCRSIn);
223
}
224
225
// ---------------------------------------------------------------------------
0 commit comments