diff options
author | sfan5 <sfan5@live.de> | 2022-07-20 22:09:07 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-07-20 22:09:07 +0200 |
commit | 51f0acb7c1b240c67ed2d89160e0562b267a3a17 (patch) | |
tree | a9346ab48de972396541d53fbf3c9ebac89cccfe /include/irrArray.h | |
parent | 91edd214aa0e8a5e9192a2fc9188a19fc5bf135e (diff) | |
download | irrlicht-51f0acb7c1b240c67ed2d89160e0562b267a3a17.tar.xz |
Replace std::min in irrArray.h
should fix #122
Diffstat (limited to 'include/irrArray.h')
-rw-r--r-- | include/irrArray.h | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|