From 61a7726611e4818466bd9fbf84d3ab7ea1b97984 Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Wed, 27 Jul 2011 15:58:52 -0700 Subject: 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 3c3b40f66f..dc5ca037f9 100644 --- a/indra/llcommon/llinstancetracker.h +++ b/indra/llcommon/llinstancetracker.h @@ -58,7 +58,7 @@ public: public: typedef boost::iterator_facade 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 { public: - instance_iter(typename InstanceSet::iterator& it) + instance_iter(typename const InstanceSet::iterator& it) : mIterator(it) { ++sIterationNestDepth; -- cgit v1.2.3