diff options
author | Paul Gilbert | 2011-08-26 19:19:29 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-08-26 19:19:29 +1000 |
commit | 31a7f6496830e11d6b940123f0d9a22eabf82e43 (patch) | |
tree | 3876d9bea1b3c73b5fd34bd9a401b5d52415bb65 /engines/tsage | |
parent | 734e4f628be88a37b09965dacc77e60152dca25d (diff) | |
download | scummvm-rg350-31a7f6496830e11d6b940123f0d9a22eabf82e43.tar.gz scummvm-rg350-31a7f6496830e11d6b940123f0d9a22eabf82e43.tar.bz2 scummvm-rg350-31a7f6496830e11d6b940123f0d9a22eabf82e43.zip |
TSAGE: Hopeful bugfix for compilation errors on other systems
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/saveload.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/tsage/saveload.h b/engines/tsage/saveload.h index a15637d1e5..00b7b46a5e 100644 --- a/engines/tsage/saveload.h +++ b/engines/tsage/saveload.h @@ -140,15 +140,15 @@ public: } void addBefore(T existingItem, T newItem) { - SynchronizedList<T>::iterator i = this->begin(); - while ((i != this->end()) && (*i != existingItem)) ++i; - this->insert(i, newItem); + SynchronizedList<T>::iterator i = Common::List<T>::begin(); + while ((i != Common::List<T>::end()) && (*i != existingItem)) ++i; + Common::List<T>::insert(i, newItem); } void addAfter(T existingItem, T newItem) { - SynchronizedList<T>::iterator i = this->begin(); - while ((i != this->end()) && (*i != existingItem)) ++i; - if (i != this->end()) ++i; - this->insert(i, newItem); + SynchronizedList<T>::iterator i = Common::List<T>::begin(); + while ((i != Common::List<T>::end()) && (*i != existingItem)) ++i; + if (i != Common::List<T>::end()) ++i; + Common::List<T>::insert(i, newItem); } }; |