From 0febc3895c53c223eedb45cead0637bfe882ecb4 Mon Sep 17 00:00:00 2001 From: Matthias Kleiner Date: Mon, 15 Jan 2024 12:07:57 +0100 Subject: [PATCH] dont delete map --- GPU/TPCFastTransformation/CorrectionMapsHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/TPCFastTransformation/CorrectionMapsHelper.cxx b/GPU/TPCFastTransformation/CorrectionMapsHelper.cxx index b62d1a85238b7..6db912b471bb6 100644 --- a/GPU/TPCFastTransformation/CorrectionMapsHelper.cxx +++ b/GPU/TPCFastTransformation/CorrectionMapsHelper.cxx @@ -71,7 +71,7 @@ void CorrectionMapsHelper::setCorrMapRef(std::unique_ptr&& 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(); }