diff --git a/include/wsrep/seqno.hpp b/include/wsrep/seqno.hpp index 9d8cedb..2baef3d 100644 --- a/include/wsrep/seqno.hpp +++ b/include/wsrep/seqno.hpp @@ -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_);