From f74b4ec847445ad2c22fa1d4a9277dde8e0717ca Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Nov 2002 12:48:15 +0000 Subject: [PATCH] Fixed VisualStudio7.0 compile error related to an std::vector<>::iterator no longer being a pointer, fixed by using a &(*itr). --- src/osgPlugins/geo/osgGeoStructs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/geo/osgGeoStructs.h b/src/osgPlugins/geo/osgGeoStructs.h index 3a67125e3..eeba772ca 100644 --- a/src/osgPlugins/geo/osgGeoStructs.h +++ b/src/osgPlugins/geo/osgGeoStructs.h @@ -418,7 +418,7 @@ public: itr!=fields.end(); ++itr) { - if (itr->getToken()==fieldid) return itr; + if (itr->getToken()==fieldid) return &(*itr); } return NULL; }