diff --git a/src/osgPlugins/shp/ESRIShapeReaderWriter.cpp b/src/osgPlugins/shp/ESRIShapeReaderWriter.cpp index 520e02665..faa997a13 100644 --- a/src/osgPlugins/shp/ESRIShapeReaderWriter.cpp +++ b/src/osgPlugins/shp/ESRIShapeReaderWriter.cpp @@ -22,7 +22,7 @@ class ESRIShapeReaderWriter : public osgDB::ReaderWriter supportsOption("double","Read x,y,z data as double an stored as geometry in osg::Vec3dArray's."); } - virtual const char* className() { return "ESRI Shape ReaderWriter"; } + virtual const char* className() const { return "ESRI Shape ReaderWriter"; } virtual bool acceptsExtension(const std::string& extension) const {