aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/list.h b/engines/saga/list.h
index c6789fec0c..5e643f0d28 100644
--- a/engines/saga/list.h
+++ b/engines/saga/list.h
@@ -35,6 +35,8 @@ namespace Saga {
template <class T>
class SortedList : public Common::List<T> {
public:
+ typedef typename Common::List<T>::iterator iterator;
+ typedef typename Common::List<T>::const_iterator const_iterator;
typedef int (*CompareFunction) (const T& a, const T& b);
iterator insert(const T& element, CompareFunction compareFunction) {