mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
Set the correct assert in replacment of the unecessary if branch
This commit is contained in:
parent
fed377dc4c
commit
082d47d20f
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ public:
|
|||
}
|
||||
|
||||
const Data& get(uint32 offset) const {
|
||||
assert((offset >= _items.size()));
|
||||
assert((offset < _items.size()));
|
||||
return (_items.data() + offset)->_data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue