summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-04-17 23:01:11 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-04-17 23:01:11 -0600
commit04d0d5a3ab0285f0d3acc7581cea6809343e86ab (patch)
treedd998bb8ba103d06d9b8df699cbfe44735a54a99 /indra/newview/llviewerregion.h
parentdc261cbe4c7b1de8943f00218d62ab6180e7cfad (diff)
parent674df12bc9e81b9b4290f74a96116dbbf1e7f77c (diff)
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index 2248cf5269..410c903f18 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -447,21 +447,9 @@ private:
BOOL mCapabilitiesReceived;
BOOL mReleaseNotesRequested;
BOOL mDead; //if true, this region is in the process of deleting.
-
- class OrphanList
- {
- public:
- OrphanList(){}
- OrphanList(U32 child_id){addChild(child_id);}
-
- void addChild(U32 child_id) {mChildList.insert(child_id);}
- std::set<U32>* getChildList() {return &mChildList;}
-
- private:
- std::set<U32> mChildList;
- };
- std::map<U32, OrphanList> mOrphanMap;
+ typedef std::map<U32, std::vector<U32> > orphan_list_t;
+ orphan_list_t mOrphanMap;
class CacheMissItem
{
@@ -471,21 +459,9 @@ private:
U32 mID; //local object id
LLViewerRegion::eCacheMissType mType; //cache miss type
-#if 0
- struct Compare
- {
- bool operator()(const CacheMissItem& lhs, const CacheMissItem& rhs)
- {
- return lhs.mID < rhs.mID; //smaller ID first.
- }
- };
-
- typedef std::set<CacheMissItem, Compare> cache_miss_list_t;
-#else
typedef std::list<CacheMissItem> cache_miss_list_t;
-#endif
};
- CacheMissItem::cache_miss_list_t mCacheMissList;
+ CacheMissItem::cache_miss_list_t mCacheMissList;
caps_received_signal_t mCapabilitiesReceivedSignal;
LLSD mSimulatorFeatures;