From 18aedf0241ba893e12140c0a3855f328d2b4eded Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Thu, 17 Oct 2013 19:18:53 -0700 Subject: fix for assert at runtime (reading stats from recording while it was active) fix for bad values returns from getPeriodMin and getPeriodMax on count stats when no counts recorded fix for gcc compile time error (typename ftw) --- indra/llcommon/llinstancetracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llcommon/llinstancetracker.h') diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h index 1385475444..3fdb84cfd7 100755 --- a/indra/llcommon/llinstancetracker.h +++ b/indra/llcommon/llinstancetracker.h @@ -215,7 +215,7 @@ private: { mInstanceKey = key; InstanceMap& map = getMap_(); - InstanceMap::iterator insertion_point_it = map.lower_bound(key); + typename InstanceMap::iterator insertion_point_it = map.lower_bound(key); if (ALLOW_KEY_COLLISIONS == InstanceTrackerDisallowKeyCollisions && insertion_point_it != map.end() && insertion_point_it->first == key) -- cgit v1.3