From b4fb878e1e26939ea8709444d5e49bf27c0095bd Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 23 Nov 2005 12:16:22 +0000 Subject: [PATCH] Fixed mistmatch of ReadFileCallback type. --- examples/osgcallback/osgcallback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"<