diff --git a/src/util/data_structures/deque.h b/src/util/data_structures/deque.h index 8ea4dc05..ab5d5cb7 100644 --- a/src/util/data_structures/deque.h +++ b/src/util/data_structures/deque.h @@ -186,6 +186,11 @@ struct Deque { return *this; } + Iterator& operator-=(ptrdiff_t i) { + i_ -= i; + return *this; + } + private: ptrdiff_t i_;