From dda7e3f7a23beacbed249d5ae9b8169bdafaad44 Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Mon, 15 Feb 2010 17:47:06 +0000
Subject: some const'ness for previous fixes.

---
 indra/newview/llfloaterworldmap.cpp | 2 +-
 indra/newview/llviewermenu.cpp      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'indra/newview')

diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index 83db31423c..b6de409611 100644
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -788,7 +788,7 @@ void LLFloaterWorldMap::friendsChanged()
 	if(avatar_id.notNull())
 	{
 		LLCtrlSelectionInterface *iface = childGetSelectionInterface("friend combo");
-		LLRelationship* buddy_info = t.getBuddyInfo(avatar_id);
+		const LLRelationship* buddy_info = t.getBuddyInfo(avatar_id);
 		if(!iface ||
 		   !iface->setCurrentByID(avatar_id) || 
 		   (buddy_info && !buddy_info->isRightGrantedFrom(LLRelationship::GRANT_MAP_LOCATION)) ||
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 9565ae6150..379cd5efb2 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -3554,7 +3554,7 @@ bool LLHaveCallingcard::operator()(LLInventoryCategory* cat,
 
 BOOL is_agent_mappable(const LLUUID& agent_id)
 {
-	LLRelationship* buddy_info = NULL;
+	const LLRelationship* buddy_info = NULL;
 	bool is_friend = LLAvatarActions::isFriend(agent_id);
 
 	if (is_friend)
-- 
cgit v1.2.3