Skip to content

Commit

Permalink
add override
Browse files Browse the repository at this point in the history
  • Loading branch information
MDjur committed Jul 12, 2024
1 parent 269abb3 commit cee66fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osgplugin/ReaderWriterCityGML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@ class ReaderWriterCityGML : public osgDB::ReaderWriter

virtual ReadResult readNode( const std::string&, const osgDB::ReaderWriter::Options* ) const override;
virtual ReadResult readNode( std::istream&, const osgDB::ReaderWriter::Options* ) const override;
virtual ReadResult readObject(const std::string& fileName, const osgDB::ReaderWriter::Options* options) const
virtual ReadResult readObject(const std::string& fileName, const osgDB::ReaderWriter::Options* options) const override
{
ReadResult result = readNode(fileName, options);
osg::Node* node = result.getNode();
if (node) return node;
else return result;
}

virtual ReadResult readObject(std::istream& fin, const Options* options) const
virtual ReadResult readObject(std::istream& fin, const Options* options) const override
{
ReadResult result = readNode(fin, options);
osg::Node* node = result.getNode();
Expand Down

0 comments on commit cee66fc

Please sign in to comment.