Change interator to const_iterator to try and avoid Solaris build failure

This commit is contained in:
Robert Osfield
2007-06-05 14:37:55 +00:00
parent 2b9f209765
commit 2c16c5b87d
2 changed files with 2 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ class OSGMANIPULATOR_EXPORT PointerInfo
}
bool completed() { return _hitIter==_hitList.end(); }
bool completed() const { return _hitIter==_hitList.end(); }
void next()
{
@@ -120,7 +120,7 @@ class OSGMANIPULATOR_EXPORT PointerInfo
public:
IntersectionList _hitList;
IntersectionList::iterator _hitIter;
IntersectionList::const_iterator _hitIter;
protected:

View File

@@ -256,7 +256,6 @@ BEGIN_VALUE_REFLECTOR(osgManipulator::PointerInfo)
__osg_Vec3__getLocalIntersectPoint,
0);
I_PublicMemberProperty(osgManipulator::PointerInfo::IntersectionList, _hitList);
I_PublicMemberProperty(osgManipulator::PointerInfo::IntersectionList::iterator, _hitIter);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgManipulator::Dragger >)