diff --git a/source/blender/blenlib/BLI_sub_frame.hh b/source/blender/blenlib/BLI_sub_frame.hh index 32e5b933fda..548852420b6 100644 --- a/source/blender/blenlib/BLI_sub_frame.hh +++ b/source/blender/blenlib/BLI_sub_frame.hh @@ -78,7 +78,7 @@ struct SubFrame { friend bool operator<=(const SubFrame &a, const SubFrame &b) { - return a.frame_ <= b.frame_ || (a.frame_ == b.frame_ && a.subframe_ <= b.subframe_); + return a.frame_ < b.frame_ || (a.frame_ == b.frame_ && a.subframe_ <= b.subframe_); } friend bool operator>(const SubFrame &a, const SubFrame &b) @@ -88,7 +88,7 @@ struct SubFrame { friend bool operator>=(const SubFrame &a, const SubFrame &b) { - return a.frame_ >= b.frame_ || (a.frame_ == b.frame_ && a.subframe_ >= b.subframe_); + return a.frame_ > b.frame_ || (a.frame_ == b.frame_ && a.subframe_ >= b.subframe_); } };