mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-20 01:03:16 +03:00
Added convenience method prev() to seqno
This commit is contained in:
@ -51,6 +51,11 @@ namespace wsrep
|
||||
return (seqno_ == -1);
|
||||
}
|
||||
|
||||
wsrep::seqno prev() const
|
||||
{
|
||||
return seqno{seqno_ - 1};
|
||||
}
|
||||
|
||||
bool operator<(seqno other) const
|
||||
{
|
||||
return (seqno_ < other.seqno_);
|
||||
|
Reference in New Issue
Block a user