From b70bb804253ec5029bbbb09d1d794e0c7674870d Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 13 Apr 2026 14:48:09 -0500 Subject: [PATCH] JCF: DUNE-DAQ/daqdataformats#79: replace daqdataformats::TriggerRecordHeader::operator[] with daqdataformats::TriggerRecordHeader::at, which performs the identical function and hasn't been removed from the code --- plugins/TRBModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/TRBModule.cpp b/plugins/TRBModule.cpp index d8880f44..bd622f7b 100644 --- a/plugins/TRBModule.cpp +++ b/plugins/TRBModule.cpp @@ -353,7 +353,7 @@ TRBModule::fragments_callback(std::unique_ptr& temp_fr for (size_t i = 0; i < header.get_num_requested_components(); ++i) { - const daqdataformats::ComponentRequest& request = header[i]; + const daqdataformats::ComponentRequest& request = header.at(i); if (request.component == temp_fragment->get_element_id()) { requested = true; break;