mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:57:58 +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 {
|
const Data& get(uint32 offset) const {
|
||||||
assert((offset >= _items.size()));
|
assert((offset < _items.size()));
|
||||||
return (_items.data() + offset)->_data;
|
return (_items.data() + offset)->_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue