Skip to content

Commit

Permalink
dont delete map
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-kleiner committed Jan 15, 2024
1 parent 51081a1 commit 0febc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/TPCFastTransformation/CorrectionMapsHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void CorrectionMapsHelper::setCorrMapRef(std::unique_ptr<TPCFastTransform>&& m)
// if (!mOwner) {
// throw std::runtime_error("we must not take the ownership from a unique ptr if mOwner is not set");
// }
delete mCorrMapRef;
// delete mCorrMapRef;
mCorrMapRef = m.release();
}

Expand Down

0 comments on commit 0febc38

Please sign in to comment.