From a6295b82dc3e6de02ac06c7e1de871eb8129362d Mon Sep 17 00:00:00 2001
From: Drake Arconis <drake@alchemyviewer.org>
Date: Mon, 26 Jan 2015 18:40:03 -0500
Subject: [PATCH] Fix a code silly.

---
 indra/newview/llavataractions.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 86683e00c1..635cedfb91 100755
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -1339,8 +1339,7 @@ void LLAvatarActions::teleportTo(const LLUUID& avatar_id)
 	if (avatar_id.isNull())
 		return;
 
-	typedef boost::unordered_map<LLUUID, LLVector3d> pos_map_t;
-	pos_map_t positions;
+	boost::unordered_map<LLUUID, LLVector3d> positions;
 	LLWorld::getInstance()->getAvatars(&positions, gAgent.getPositionGlobal(), 4096.f);
 	auto iter = positions.find(avatar_id);
 	if (iter != positions.cend())
@@ -1360,8 +1359,7 @@ bool LLAvatarActions::canTeleportTo(const LLUUID& avatar_id)
 	if (avatar_id.isNull())
 		return false;
 
-	typedef boost::unordered_map<LLUUID, LLVector3d> pos_map_t;
-	pos_map_t positions;
+	boost::unordered_map<LLUUID, LLVector3d> positions;
 	LLWorld::getInstance()->getAvatars(&positions, gAgent.getPositionGlobal(), 4096.f);
 	auto iter = positions.find(avatar_id);
 	if (iter != positions.cend())
-- 
GitLab