Skip to content
Snippets Groups Projects
Commit 61a77266 authored by Richard Nelson's avatar Richard Nelson
Browse files

another potential gcc fix

parent 5c8f22c6
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ class LLInstanceTracker : public LLInstanceTrackerBase ...@@ -58,7 +58,7 @@ class LLInstanceTracker : public LLInstanceTrackerBase
public: public:
typedef boost::iterator_facade<instance_iter, T, boost::forward_traversal_tag> super_t; 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) : mIterator(it)
{ {
++sIterationNestDepth; ++sIterationNestDepth;
...@@ -210,7 +210,7 @@ class LLInstanceTracker<T, T*> : public LLInstanceTrackerBase ...@@ -210,7 +210,7 @@ class LLInstanceTracker<T, T*> : public LLInstanceTrackerBase
class instance_iter : public boost::iterator_facade<instance_iter, T, boost::forward_traversal_tag> class instance_iter : public boost::iterator_facade<instance_iter, T, boost::forward_traversal_tag>
{ {
public: public:
instance_iter(typename InstanceSet::iterator& it) instance_iter(typename const InstanceSet::iterator& it)
: mIterator(it) : mIterator(it)
{ {
++sIterationNestDepth; ++sIterationNestDepth;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment