Made ReaderWriter::className const

This commit is contained in:
Robert Osfield
2004-10-26 10:26:43 +00:00
parent 69387b7822
commit 1f5b044c71
41 changed files with 41 additions and 41 deletions

View File

@@ -13,7 +13,7 @@
class ReaderWriterGDAL : public osgDB::ReaderWriter
{
public:
virtual const char* className() { return "GDAL Image Reader"; }
virtual const char* className() const { return "GDAL Image Reader"; }
virtual bool acceptsExtension(const std::string& extension)
{
return osgDB::equalCaseInsensitive(extension,"gdal") || osgDB::equalCaseInsensitive(extension,"gdal");