diff options
Diffstat (limited to 'src/support/small_vector.h')
-rw-r--r-- | src/support/small_vector.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/support/small_vector.h b/src/support/small_vector.h index dd6afb526..7f00bd4a6 100644 --- a/src/support/small_vector.h +++ b/src/support/small_vector.h @@ -109,11 +109,13 @@ public: } bool operator==(const SmallVector<T, N>& other) const { - if (usedFixed != other.usedFixed) + if (usedFixed != other.usedFixed) { return false; + } for (size_t i = 0; i < usedFixed; i++) { - if (fixed[i] != other.fixed[i]) + if (fixed[i] != other.fixed[i]) { return false; + } } return flexible == other.flexible; } |