[Appearance/Misc]

- fixed : VS2005 compiler issue (calling std::vector::erase with a const_iterator)

--HG--
branch : Appearance-Misc
meow-7.2.2
Kitty Barnett 2010-09-06 06:25:30 +02:00
parent 91cd437a35
commit be4ef98675
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}