counters: add counter_id::operator>

This commit is contained in:
Paweł Dziepak
2017-09-04 13:28:05 +01:00
parent 4b06a2e95d
commit 74af818eaf

View File

@@ -49,6 +49,9 @@ public:
bool operator<(const counter_id& other) const {
return to_uuid() < other.to_uuid();
}
bool operator>(const counter_id& other) const {
return other.to_uuid() < to_uuid();
}
bool operator==(const counter_id& other) const {
return to_uuid() == other.to_uuid();
}