diff --git a/include/irrArray.h b/include/irrArray.h index 3b36401..f94cfb0 100644 --- a/include/irrArray.h +++ b/include/irrArray.h @@ -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);