diff options
-rw-r--r-- | engines/saga/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/list.h b/engines/saga/list.h index 5e643f0d28..66aaf69ec2 100644 --- a/engines/saga/list.h +++ b/engines/saga/list.h @@ -42,7 +42,7 @@ public: iterator insert(const T& element, CompareFunction compareFunction) { int res; - for (Common::List<T>::iterator i = Common::List<T>::begin(); i != Common::List<T>::end(); ++i) { + for (typename Common::List<T>::iterator i = Common::List<T>::begin(); i != Common::List<T>::end(); ++i) { res = compareFunction(element, *i); if (res < 0) { Common::List<T>::insert(i, element); |