mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-10-18 08:02:53 -04:00
It's 2016 and C++11 supports these natively
This commit is contained in:
@@ -47,6 +47,7 @@ public:
|
||||
|
||||
NetworkId& operator= (const NetworkId&);
|
||||
bool operator< (const NetworkId& rhs) const;
|
||||
bool operator> (const NetworkId& rhs) const;
|
||||
bool operator== (const NetworkId& rhs) const;
|
||||
bool operator!= (const NetworkId& rhs) const;
|
||||
size_t getHashValue() const;
|
||||
@@ -94,6 +95,11 @@ inline bool NetworkId::operator< (const NetworkId& rhs) const
|
||||
return m_value < rhs.m_value;
|
||||
}
|
||||
|
||||
inline bool NetworkId::operator> (const NetworkId& rhs) const
|
||||
{
|
||||
return m_value > rhs.m_value;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
inline bool NetworkId::operator== (const NetworkId& rhs) const
|
||||
|
||||
Reference in New Issue
Block a user