mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
poly.h: Fix DEBUG=1 builds
This commit is contained in:
parent
ed2369bcd4
commit
2aed6158b8
@ -153,8 +153,6 @@ public:
|
||||
// allocate a return a new item
|
||||
ArrayType &next(int index = 0)
|
||||
{
|
||||
assert(index < TrackingCount);
|
||||
|
||||
// track the maximum
|
||||
if (m_next > m_max)
|
||||
m_max = m_next;
|
||||
@ -175,7 +173,10 @@ public:
|
||||
// set the last item
|
||||
m_next++;
|
||||
if (TrackingCount > 0)
|
||||
{
|
||||
assert(index < TrackingCount);
|
||||
m_last[index] = item;
|
||||
}
|
||||
return *item;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user