Skip to content
Snippets Groups Projects
Commit be4ef986 authored by Kitty Barnett's avatar Kitty Barnett
Browse files

[Appearance/Misc]

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

--HG--
branch : Appearance-Misc
parent 91cd437a
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ class LLAppearanceMgr: public LLSingleton<LLAppearanceMgr>
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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment