Skip to content

Commit

Permalink
Fix assert statement
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbell10 committed Jun 22, 2021
1 parent af53966 commit a12f764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uarray/small_dynamic_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class SmallDynamicArray {
}

reference operator[](size_type idx) {
assert(0 < idx && idx < size);
assert(0 < idx && idx < size_);
return begin()[idx];
}
};

0 comments on commit a12f764

Please sign in to comment.