From 5d05f09391cad25fff08454502aa69926442738e Mon Sep 17 00:00:00 2001 From: Marcel Keller Date: Mon, 13 Mar 2023 12:34:19 +1100 Subject: [PATCH] Fewer warnings. --- Processor/Data_Files.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Processor/Data_Files.hpp b/Processor/Data_Files.hpp index 6c189cac..5fe49f39 100644 --- a/Processor/Data_Files.hpp +++ b/Processor/Data_Files.hpp @@ -312,7 +312,9 @@ template void Sub_Data_Files::buffer_edabits_with_queues(bool strict, int n_bits, false_type) { - insecure("reading edaBits from files"); + if (edabit_buffers.empty()) + insecure("reading edaBits from files"); + if (edabit_buffers.find(n_bits) == edabit_buffers.end()) { string filename = PrepBase::get_edabit_filename(prep_data_dir,