summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerregion.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-03-20 22:49:45 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-03-20 22:49:45 -0600
commitbbfb7b9ea1dc025d672968e39908b2327d14878a (patch)
tree7f6b6a216a5c82ee8e852b1ad4c8458d94c6171a /indra/newview/llviewerregion.h
parent933691ad133b552be3fdd26b0d9d26a09c3a7aa5 (diff)
for SH-3918: Viewer should respond to cache probes in order received (don't sort response)
Diffstat (limited to 'indra/newview/llviewerregion.h')
-rw-r--r--indra/newview/llviewerregion.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h
index 15c2b36e38..22936fb103 100644
--- a/indra/newview/llviewerregion.h
+++ b/indra/newview/llviewerregion.h
@@ -470,6 +470,7 @@ private:
U32 mID; //local object id
LLViewerRegion::eCacheMissType mType; //cache miss type
+#if 0
struct Compare
{
bool operator()(const CacheMissItem& lhs, const CacheMissItem& rhs)
@@ -479,6 +480,9 @@ private:
};
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;