We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a661df commit c02f192Copy full SHA for c02f192
storage/cache.cpp
@@ -175,6 +175,9 @@ void NHTFlowCache::push_to_export_queue(size_t flow_index) noexcept
175
176
void NHTFlowCache::finish()
177
{
178
+ auto it = std::find_if(m_hashes_in_ctt.begin(), m_hashes_in_ctt.end(), [](const auto& pair) {
179
+ return pair.second <= 0;
180
+ });
181
for (decltype(m_cache_size) i = 0; i < m_cache_size; i++) {
182
if (!m_flow_table[i]->is_empty()) {
183
#ifdef WITH_CTT
0 commit comments