aboutsummaryrefslogtreecommitdiff
path: root/engines/composer
diff options
context:
space:
mode:
authorangstsmurf2016-10-18 03:02:32 +0200
committerangstsmurf2016-10-18 03:03:15 +0200
commitc3994cd6ea1a616164869f54659339b462aafc2a (patch)
tree9030270ed93c2e3434131e213426ae2b0d7cd034 /engines/composer
parent17f3626214d3244bfe07b4f263c99be2de07a289 (diff)
downloadscummvm-rg350-c3994cd6ea1a616164869f54659339b462aafc2a.tar.gz
scummvm-rg350-c3994cd6ea1a616164869f54659339b462aafc2a.tar.bz2
scummvm-rg350-c3994cd6ea1a616164869f54659339b462aafc2a.zip
COMPOSER: Add missing 'typename' prior to dependent type name
Diffstat (limited to 'engines/composer')
-rw-r--r--engines/composer/saveload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/composer/saveload.cpp b/engines/composer/saveload.cpp
index 55544d79e2..ae55f908a8 100644
--- a/engines/composer/saveload.cpp
+++ b/engines/composer/saveload.cpp
@@ -40,7 +40,7 @@ void ComposerEngine::syncArray(Common::Serializer &ser, Common::Array<T> &data,
if (ser.isSaving()) {
uint32 size = data.size();
ser.syncAsUint32LE(size, minVersion, maxVersion);
- for (Common::Array<T>::iterator i = data.begin(); i != data.end(); i++) {
+ for (typename Common::Array<T>::iterator i = data.begin(); i != data.end(); i++) {
sync<T>(ser, *i, minVersion, maxVersion);
}
} else {
@@ -59,7 +59,7 @@ void ComposerEngine::syncList(Common::Serializer &ser, Common::List<T> &data, Co
if (ser.isSaving()) {
uint32 size = data.size();
ser.syncAsUint32LE(size, minVersion, maxVersion);
- for (Common::List<T>::iterator i = data.begin(); i != data.end(); i++) {
+ for (typename Common::List<T>::iterator i = data.begin(); i != data.end(); i++) {
sync<T>(ser, *i, minVersion, maxVersion);
}
} else {
@@ -78,7 +78,7 @@ void ComposerEngine::syncListReverse(Common::Serializer &ser, Common::List<T> &d
if (ser.isSaving()) {
uint32 size = data.size();
ser.syncAsUint32LE(size, minVersion, maxVersion);
- for (Common::List<T>::iterator i = data.reverse_begin(); i != data.end(); i--) {
+ for (typename Common::List<T>::iterator i = data.reverse_begin(); i != data.end(); i--) {
sync<T>(ser, *i, minVersion, maxVersion);
}
} else {