mirror of
https://github.com/SWG-Source/src.git
synced 2026-10-04 21:12:51 -04:00
and more performance tweaks
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ inline typename AutoDeltaSet<ValueType, ObjectType>::const_iterator AutoDeltaSet
|
||||
// @note apathy - hack to convert from const_iterator to iterator as requried by STLPort
|
||||
typename SetType::iterator tmp(m_set.begin());
|
||||
std::advance(tmp, std::distance<const_iterator>(tmp, i));
|
||||
i++;
|
||||
++i;
|
||||
m_set.erase(tmp);
|
||||
|
||||
touch();
|
||||
|
||||
Reference in New Issue
Block a user