src/ldobjectiterator.h

changeset 1063
1f15c52c11f6
parent 1014
f0a8ecb6a357
child 1065
c8ecddbd99e9
equal deleted inserted replaced
1062:4119185b56ca 1063:1f15c52c11f6
38 seekTillValid(); 38 seekTillValid();
39 } 39 }
40 40
41 bool outOfBounds() const 41 bool outOfBounds() const
42 { 42 {
43 return m_i < 0 or m_i >= m_list.size(); 43 return m_i < 0 or m_i >= length(m_list);
44 } 44 }
45 45
46 T* get() const 46 T* get() const
47 { 47 {
48 return static_cast<T*> (m_list[m_i]); 48 return static_cast<T*> (m_list[m_i]);

mercurial