From 171138c8f794b1c6d1e7bc0b2c5d772d6f06f29b Mon Sep 17 00:00:00 2001
From: Chris Jones <jonesc@hep.phy.cam.ac.uk>
Date: Thu, 31 Aug 2023 15:06:42 +0100
Subject: [PATCH] RichDecodedData: remove duplicate ID assert

---
 Rich/RichFutureUtils/src/RichDecodedData.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Rich/RichFutureUtils/src/RichDecodedData.cpp b/Rich/RichFutureUtils/src/RichDecodedData.cpp
index 0502e64df50..410b0685bc9 100644
--- a/Rich/RichFutureUtils/src/RichDecodedData.cpp
+++ b/Rich/RichFutureUtils/src/RichDecodedData.cpp
@@ -93,9 +93,6 @@ void DecodedData::addSmartIDs( const LHCb::RichSmartID::Vector& ids ) {
     // ID vector to fill
     auto& ids = pdInfo->smartIDs();
 
-    // sanity assert to ensure this hit is not already present
-    assert( std::find( ids.begin(), ids.end(), id ) == ids.end() );
-
     // add the hit to the list
     ids.emplace_back( id );
 
-- 
GitLab