From 61a7726611e4818466bd9fbf84d3ab7ea1b97984 Mon Sep 17 00:00:00 2001 From: Richard Nelson <richard@lindenlab.com> Date: Wed, 27 Jul 2011 15:58:52 -0700 Subject: [PATCH] another potential gcc fix --- indra/llcommon/llinstancetracker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/llinstancetracker.h b/indra/llcommon/llinstancetracker.h index 3c3b40f66fa..dc5ca037f9e 100644 --- a/indra/llcommon/llinstancetracker.h +++ b/indra/llcommon/llinstancetracker.h @@ -58,7 +58,7 @@ class LLInstanceTracker : public LLInstanceTrackerBase 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 @@ class LLInstanceTracker<T, T*> : public LLInstanceTrackerBase 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; -- GitLab