Fixed: Compilation under Windows

This commit is contained in:
kervala 2010-09-06 20:42:13 +02:00
parent 0985762b63
commit 5ae8eb8203

View file

@ -989,7 +989,7 @@ public:
/// Set a property list. Must be preceded by setupDestPropTrackersInterestedByDelta()
template <class T>
void applyListPropChange( TDataSetIndex entityIndex, TPropertyIndex propIndex, NLNET::TServiceId srcServiceId, std::slist<T>& tempList, NLMISC::TGameCycle timestamp )
void applyListPropChange( TDataSetIndex entityIndex, TPropertyIndex propIndex, NLNET::TServiceId srcServiceId, slist<T>& tempList, NLMISC::TGameCycle timestamp )
{
// Set if the received timestamp is newer than the stored timestamp
NLMISC::TGameCycle& localTimestamp = _PropertyContainer.PropertyValueArrays[propIndex].ChangeTimestamps[entityIndex];
@ -1033,14 +1033,14 @@ public:
/// Erase a list and set the new one instead
template <class T>
void replaceList( TDataSetIndex entityIndex, TPropertyIndex propIndex, std::slist<T>& tempList )
void replaceList( TDataSetIndex entityIndex, TPropertyIndex propIndex, slist<T>& tempList )
{
// Clear old list
CMirrorPropValueListMS<T> theList( *this, TDataSetRow(entityIndex), propIndex );
theList.clear();
// Paste new list
typename std::slist<T>::iterator it;
typename slist<T>::iterator it;
for ( it=tempList.begin(); it!=tempList.end(); ++it )
{
theList.push_front( *it ); // re-reverse ordering