Change interator to const_iterator to try and avoid Solaris build failure
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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 >)
|
||||
|
||||
Reference in New Issue
Block a user