Fixed: Compilation under Windows
This commit is contained in:
parent
709b796f0a
commit
ac9684c8e5
1 changed files with 3 additions and 3 deletions
|
@ -989,7 +989,7 @@ public:
|
||||||
|
|
||||||
/// Set a property list. Must be preceded by setupDestPropTrackersInterestedByDelta()
|
/// Set a property list. Must be preceded by setupDestPropTrackersInterestedByDelta()
|
||||||
template <class T>
|
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
|
// Set if the received timestamp is newer than the stored timestamp
|
||||||
NLMISC::TGameCycle& localTimestamp = _PropertyContainer.PropertyValueArrays[propIndex].ChangeTimestamps[entityIndex];
|
NLMISC::TGameCycle& localTimestamp = _PropertyContainer.PropertyValueArrays[propIndex].ChangeTimestamps[entityIndex];
|
||||||
|
@ -1033,14 +1033,14 @@ public:
|
||||||
|
|
||||||
/// Erase a list and set the new one instead
|
/// Erase a list and set the new one instead
|
||||||
template <class T>
|
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
|
// Clear old list
|
||||||
CMirrorPropValueListMS<T> theList( *this, TDataSetRow(entityIndex), propIndex );
|
CMirrorPropValueListMS<T> theList( *this, TDataSetRow(entityIndex), propIndex );
|
||||||
theList.clear();
|
theList.clear();
|
||||||
|
|
||||||
// Paste new list
|
// Paste new list
|
||||||
typename std::slist<T>::iterator it;
|
typename slist<T>::iterator it;
|
||||||
for ( it=tempList.begin(); it!=tempList.end(); ++it )
|
for ( it=tempList.begin(); it!=tempList.end(); ++it )
|
||||||
{
|
{
|
||||||
theList.push_front( *it ); // re-reverse ordering
|
theList.push_front( *it ); // re-reverse ordering
|
||||||
|
|
Loading…
Reference in a new issue