diff options
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r-- | include/m_system_cpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h index 8b94e15013..729ddcb414 100644 --- a/include/m_system_cpp.h +++ b/include/m_system_cpp.h @@ -221,6 +221,7 @@ template<class T> struct LIST __inline iterator begin() const { return iterator(base + index); }
__inline iterator end() const { return iterator(base-1); }
+ __inline int indexOf(T **p) const { return int(p - base); }
};
__inline void destroy(void) { List_Destroy((SortedList*)this); }
|