From eb893eba75a64d230e95cacda2b5799564038c55 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 15 Apr 2015 17:12:52 +0000 Subject: [PATCH] Added missing const to find VS2005 build git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14836 16af8721-9629-0410-8352-f15c8da7e697 --- src/osgPlugins/gles/LineIndexFunctor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/gles/LineIndexFunctor b/src/osgPlugins/gles/LineIndexFunctor index f4862d2fd..8f47cb499 100644 --- a/src/osgPlugins/gles/LineIndexFunctor +++ b/src/osgPlugins/gles/LineIndexFunctor @@ -35,7 +35,7 @@ public: }; struct LineCompare { - bool operator()(const Line& lhs, const Line& rhs) { + bool operator()(const Line& lhs, const Line& rhs) const { return lhs._a < rhs._a || (lhs._a == rhs._a && lhs._b < rhs._b); } };