forked from Mirrorlandia_minetest/irrlicht
parent
91edd214aa
commit
51f0acb7c1
@ -394,7 +394,7 @@ public:
|
||||
{
|
||||
if (index >= m_data.size() || count < 1)
|
||||
return;
|
||||
count = std::min(count, (s32)m_data.size() - (s32)index);
|
||||
count = core::min_(count, (s32)m_data.size() - (s32)index);
|
||||
auto first = std::next(m_data.begin(), index);
|
||||
auto last = std::next(first, count);
|
||||
m_data.erase(first, last);
|
||||
|
Loading…
Reference in New Issue
Block a user