mirror of https://github.com/oxen-io/lokinet
Add missing != operator to nuint_t
This commit is contained in:
parent
613459401d
commit
d1e997177d
|
@ -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…
Reference in New Issue