diff --git a/benchmark/micro_benchmark_node_utils.hpp b/benchmark/micro_benchmark_node_utils.hpp index 794baa7a..6de1b075 100644 --- a/benchmark/micro_benchmark_node_utils.hpp +++ b/benchmark/micro_benchmark_node_utils.hpp @@ -673,6 +673,7 @@ void full_node_scan_benchmark(::benchmark::State &state) { const auto key_limit = detail::make_full_node_size_tree(test_db, key_count); for (const auto _ : state) { + // cppcheck-suppress useStlAlgorithm items_processed += detail::get_key_loop( test_db, key_limit, detail::number_to_full_node_size_tree_key); @@ -990,6 +991,7 @@ void minimal_tree_full_scan(::benchmark::State &state) { std::int64_t items_processed = 0; for (const auto _ : state) { + // cppcheck-suppress useStlAlgorithm items_processed += detail::get_key_loop( test_db, key_limit, detail::number_to_minimal_node_size_tree_key);