diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h
index 2349f6cc23ab53b5510434e954d38392be3f25bd..d77d726b74a3b07f965ba9ea025a1cb8a581bd5c 100644
--- a/indra/newview/llappearancemgr.h
+++ b/indra/newview/llappearancemgr.h
@@ -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);
 	}