Set the correct assert in replacment of the unecessary if branch

This commit is contained in:
Sam Gateau 2018-09-10 14:31:49 -07:00
parent fed377dc4c
commit 082d47d20f

View file

@ -417,7 +417,7 @@ public:
}
const Data& get(uint32 offset) const {
assert((offset >= _items.size()));
assert((offset < _items.size()));
return (_items.data() + offset)->_data;
}