diff options
author | Richard Nelson <richard@lindenlab.com> | 2011-07-27 15:58:52 -0700 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2011-07-27 15:58:52 -0700 |
commit | 61a7726611e4818466bd9fbf84d3ab7ea1b97984 (patch) | |
tree | bb435f8b41fae24d1bdcec4c2761515a0e03afca /indra | |
parent | 5c8f22c640fb6955bed345128163a5d5677d8a23 (diff) |
another potential gcc fix
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/llinstancetracker.h | 4 |
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; |