[Scummvm-cvs-logs] scummvm master -> 31a7f6496830e11d6b940123f0d9a22eabf82e43
dreammaster
dreammaster at scummvm.org
Fri Aug 26 11:23:04 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
31a7f64968 TSAGE: Hopeful bugfix for compilation errors on other systems
Commit: 31a7f6496830e11d6b940123f0d9a22eabf82e43
https://github.com/scummvm/scummvm/commit/31a7f6496830e11d6b940123f0d9a22eabf82e43
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-08-26T02:19:29-07:00
Commit Message:
TSAGE: Hopeful bugfix for compilation errors on other systems
Changed paths:
engines/tsage/saveload.h
diff --git a/engines/tsage/saveload.h b/engines/tsage/saveload.h
index a15637d..00b7b46 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);
}
};
More information about the Scummvm-git-logs
mailing list