src/ldobjectiterator.h

changeset 1065
c8ecddbd99e9
parent 1063
1f15c52c11f6
child 1072
9ce9496427f2
--- a/src/ldobjectiterator.h	Sat Jan 28 14:13:01 2017 +0200
+++ b/src/ldobjectiterator.h	Sat Jan 28 14:14:28 2017 +0200
@@ -40,7 +40,7 @@
 
 	bool outOfBounds() const
 	{
-		return m_i < 0 or m_i >= length(m_list);
+		return m_i < 0 or m_i >= countof(m_list);
 	}
 
 	T* get() const

mercurial