diff --git a/thin-provisioning/range.h b/thin-provisioning/range.h index ccb91c4..8345c18 100644 --- a/thin-provisioning/range.h +++ b/thin-provisioning/range.h @@ -16,6 +16,10 @@ namespace thin_provisioning { end_(end) { } + bool operator ==(range const &r) const { + return (begin_ == r.begin_ && end_ == r.end_); + } + maybe begin_; maybe end_; };