This commit is contained in:
2023-01-12 02:36:29 +01:00
parent dbcf2777c0
commit e858f23fc1
5 changed files with 106 additions and 12 deletions

View File

@@ -87,6 +87,7 @@ struct _GroupKey {
_GroupKey(void) = default;
_GroupKey(const _GroupKey& other) : data(other.data) {}
_GroupKey(_GroupKey&&) = delete;
_GroupKey& operator=(const _GroupKey& other) { data = other.data; return *this; }
bool operator<(const _GroupKey& rhs) const;
bool operator==(const _GroupKey& rhs) const;
size_t size(void) const { return data.size(); }
@@ -98,6 +99,7 @@ struct _PeerKey {
_PeerKey(void) = default;
_PeerKey(const _PeerKey& other) : data(other.data) {}
_PeerKey(_PeerKey&&) = delete;
_PeerKey& operator=(const _PeerKey& other) { data = other.data; return *this; }
bool operator<(const _PeerKey& rhs) const;
bool operator==(const _PeerKey& rhs) const;
size_t size(void) const { return data.size(); }