From cb216f88bca2eb50b9bbab1176217e4dbbb3fc89 Mon Sep 17 00:00:00 2001 From: Stefan Goetschi Date: Thu, 1 Aug 2024 20:21:08 +0200 Subject: [PATCH] Add override keyword to overriding functions. --- osgplugin/ReaderWriterCityGML.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osgplugin/ReaderWriterCityGML.cpp b/osgplugin/ReaderWriterCityGML.cpp index 83834a79..987a9fa2 100644 --- a/osgplugin/ReaderWriterCityGML.cpp +++ b/osgplugin/ReaderWriterCityGML.cpp @@ -177,7 +177,7 @@ 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(); @@ -185,7 +185,7 @@ class ReaderWriterCityGML : public osgDB::ReaderWriter 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();