summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-07-27 15:58:52 -0700
committerRichard Nelson <richard@lindenlab.com>2011-07-27 15:58:52 -0700
commit61a7726611e4818466bd9fbf84d3ab7ea1b97984 (patch)
treebb435f8b41fae24d1bdcec4c2761515a0e03afca /indra
parent5c8f22c640fb6955bed345128163a5d5677d8a23 (diff)
another potential gcc fix
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llinstancetracker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h
index 3c3b40f66f..dc5ca037f9 100644
--- a/indra/llcommon/llinstancetracker.h
+++ b/indra/llcommon/llinstancetracker.h
@@ -58,7 +58,7 @@ public:
public:
typedef boost::iterator_facade<instance_iter, T, boost::forward_traversal_tag> super_t;
- instance_iter(typename InstanceMap::iterator& it)
+ instance_iter(typename const InstanceMap::iterator& it)
: mIterator(it)
{
++sIterationNestDepth;
@@ -210,7 +210,7 @@ public:
class instance_iter : public boost::iterator_facade<instance_iter, T, boost::forward_traversal_tag>
{
public:
- instance_iter(typename InstanceSet::iterator& it)
+ instance_iter(typename const InstanceSet::iterator& it)
: mIterator(it)
{
++sIterationNestDepth;