diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-15 17:47:06 +0000 | 
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-15 17:47:06 +0000 | 
| commit | dda7e3f7a23beacbed249d5ae9b8169bdafaad44 (patch) | |
| tree | 8b9e9cdccfc665b0eb79bc18d887b6e68f39e9d5 /indra/newview | |
| parent | f763033db29a19bd58cbb2c595c9a76096888211 (diff) | |
some const'ness for previous fixes.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llfloaterworldmap.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llviewermenu.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
| 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) | 
