Skip to content

Commit a8f204a

Browse files
committed
++ cache row span
1 parent 88ba467 commit a8f204a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/cacheRowSpan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ std::optional<size_t> CacheRowSpan::find_empty() const noexcept
7575
size_t CacheRowSpan::find_victim(const timeval& now) const noexcept
7676
{
7777
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) {
78+
auto it = std::find_if(m_begin, m_begin + m_count, [&](const FlowRecord*& flow) {
7979
if (!flow->is_in_ctt) {
8080
victim = &flow;
8181
}

0 commit comments

Comments
 (0)