[Appearance/Misc]
- fixed : VS2005 compiler issue (calling std::vector::erase with a const_iterator) --HG-- branch : Appearance-Miscmeow-7.2.2
parent
91cd437a35
commit
be4ef98675
|
|
@ -222,7 +222,7 @@ public:
|
|||
void onRegisterAttachmentComplete(const LLUUID& idItem)
|
||||
{
|
||||
const LLUUID& idItemBase = gInventory.getLinkedItemID(idItem);
|
||||
uuid_vec_t::const_iterator itPendingObjLink = std::find(mPendingObjLinks.begin(), mPendingObjLinks.end(), idItemBase);
|
||||
uuid_vec_t::iterator itPendingObjLink = std::find(mPendingObjLinks.begin(), mPendingObjLinks.end(), idItemBase);
|
||||
if (itPendingObjLink != mPendingObjLinks.end())
|
||||
mPendingObjLinks.erase(itPendingObjLink);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue