1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

add qualifiers for names in templates to make gcc 4.7+ happy

This commit is contained in:
greye 2013-07-12 08:33:02 +04:00
parent b17f383c6d
commit 29b7734b52

View File

@ -47,7 +47,7 @@ namespace CSMWorld
{
Record<ESXRecordT> record = Collection<ESXRecordT, IdAccessorT>::getRecord (index);
record.mState = RecordBase::State_Deleted;
setRecord (index, record);
this->setRecord (index, record);
}
}
else
@ -56,7 +56,7 @@ namespace CSMWorld
IdAccessorT().getId (record) = id;
record.load (reader);
int index = searchId (IdAccessorT().getId (record));
int index = this->searchId (IdAccessorT().getId (record));
if (index==-1)
{
@ -65,7 +65,7 @@ namespace CSMWorld
record2.mState = base ? RecordBase::State_BaseOnly : RecordBase::State_ModifiedOnly;
(base ? record2.mBase : record2.mModified) = record;
appendRecord (record2);
this->appendRecord (record2);
}
else
{
@ -77,7 +77,7 @@ namespace CSMWorld
else
record2.setModified (record);
setRecord (index, record2);
this->setRecord (index, record2);
}
}
}