diff options
-rw-r--r-- | src/support/small_vector.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/support/small_vector.h b/src/support/small_vector.h index 4f2dc0b81..9ef90d83a 100644 --- a/src/support/small_vector.h +++ b/src/support/small_vector.h @@ -185,7 +185,9 @@ public: return Iterator(*this) += off; } - off_t operator-(const Iterator& other) const { return index - other.index; } + difference_type operator-(const Iterator& other) const { + return index - other.index; + } bool operator==(const Iterator& other) const { return parent == other.parent && index == other.index; |