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 88ba467 commit a8f204aCopy full SHA for a8f204a
storage/cacheRowSpan.cpp
@@ -75,7 +75,7 @@ std::optional<size_t> CacheRowSpan::find_empty() const noexcept
75
size_t CacheRowSpan::find_victim(const timeval& now) const noexcept
76
{
77
const FlowRecord** victim = const_cast<const FlowRecord**>(m_begin) + m_count - 1;
78
- auto it = std::find_if(m_begin, m_begin + m_count, [&](const FlowRecord* flow) {
+ auto it = std::find_if(m_begin, m_begin + m_count, [&](const FlowRecord*& flow) {
79
if (!flow->is_in_ctt) {
80
victim = &flow;
81
}
0 commit comments