diff options
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; |