From be4ef986756bc8a128f0e4ea8e528330ca92c8ea Mon Sep 17 00:00:00 2001
From: Kitty Barnett <develop@catznip.com>
Date: Mon, 6 Sep 2010 06:25:30 +0200
Subject: [PATCH] [Appearance/Misc] - fixed : VS2005 compiler issue (calling
 std::vector::erase with a const_iterator)

--HG--
branch : Appearance-Misc
---
 indra/newview/llappearancemgr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llappearancemgr.h b/indra/newview/llappearancemgr.h
index 2349f6cc23..d77d726b74 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);
 	}
-- 
GitLab