Add missing != operator to nuint_t

pull/1969/head
Jason Rhinelander 2 years ago
parent 613459401d
commit d1e997177d
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262

@ -168,6 +168,12 @@ namespace llarp
return n < x.n;
}
constexpr bool
operator!=(nuint_t x) const
{
return n != x.n;
}
constexpr bool
operator==(nuint_t x) const
{

@ -157,7 +157,7 @@ namespace llarp
}
// update current gateway and apply state chnages as needed
if (not(m_CurrentGateway == next_gw))
if (m_CurrentGateway != next_gw)
{
if (next_gw and m_CurrentGateway)
{

Loading…
Cancel
Save