mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
put back branching for signed Type
This commit is contained in:
parent
5c2348cf0d
commit
b7d779bb25
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
return *this;
|
||||
}
|
||||
inline SequenceNumber& operator--() {
|
||||
_value = (_value - 1) % (MAX + 1);
|
||||
_value = (_value == 0) ? MAX : --_value;
|
||||
return *this;
|
||||
}
|
||||
inline SequenceNumber operator++(int) {
|
||||
|
|
Loading…
Reference in a new issue