summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/poly.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/poly.h')
-rw-r--r--src/devices/video/poly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/poly.h b/src/devices/video/poly.h
index 113e1c72589..25b50675506 100644
--- a/src/devices/video/poly.h
+++ b/src/devices/video/poly.h
@@ -341,7 +341,7 @@ poly_manager<BaseType, ObjectData, MaxParams, MaxPolys>::~poly_manager()
{
// accumulate stats over the entire collection
int conflicts = 0, resolved = 0;
- for (int i = 0; i < ARRAY_LENGTH(m_conflicts); i++)
+ for (int i = 0; i < std::size(m_conflicts); i++)
{
conflicts += m_conflicts[i];
resolved += m_resolved[i];