diff --git a/examples/osgcallback/osgcallback.cpp b/examples/osgcallback/osgcallback.cpp index 8d56f7cd4..7ee9472ff 100644 --- a/examples/osgcallback/osgcallback.cpp +++ b/examples/osgcallback/osgcallback.cpp @@ -107,7 +107,7 @@ class InsertCallbacksVisitor : public osg::NodeVisitor class MyReadFileCallback : public osgDB::Registry::ReadFileCallback { public: - virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, osgDB::ReaderWriter::Options* options) + virtual osgDB::ReaderWriter::ReadResult readNode(const std::string& fileName, const osgDB::ReaderWriter::Options* options) { std::cout<<"before readNode"<