Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolse committed Dec 11, 2023
1 parent 8bc7853 commit e867624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions node/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7451,7 +7451,7 @@ void NodeProcessor::ValidatedCache::OnShLo(const Entry::ShLo::Type& nShLo)
}
}

void NodeProcessor::ValidatedCache::RemoveRaw(ValidatedCache::Entry& x)
void NodeProcessor::ValidatedCache::RemoveRaw(Entry& x)
{
m_Keys.erase(KeySet::s_iterator_to(x.m_Key));
m_ShLo.erase(ShLoSet::s_iterator_to(x.m_ShLo));
Expand Down Expand Up @@ -7485,7 +7485,7 @@ bool NodeProcessor::ValidatedCache::Find(const Entry::Key::Type& val)

void NodeProcessor::ValidatedCache::Insert(const Entry::Key::Type& val, const Entry::ShLo::Type& nShLo)
{
ValidatedCache::Entry* pEntry(new ValidatedCache::Entry);
Entry* pEntry(new Entry);
pEntry->m_Key.m_Value = val;
pEntry->m_ShLo.m_End = nShLo;

Expand Down
2 changes: 1 addition & 1 deletion node/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ class NodeProcessor
{
typedef ECC::Hash::Value Type;
Type m_Value;
bool operator < (const Entry::Key& x) const { return m_Value < x.m_Value; }
bool operator < (const Key& x) const { return m_Value < x.m_Value; }
IMPLEMENT_GET_PARENT_OBJ(Entry, m_Key)
};
Key m_Key;
Expand Down

0 comments on commit e867624

Please sign in to comment.