From e1cc22090df85687d63e09045510b13b87071299 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 6 Mar 2022 20:01:25 +0000 Subject: [PATCH] C++: use override in CanvasSystemAdapter header --- src/Canvas/FGCanvasSystemAdapter.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Canvas/FGCanvasSystemAdapter.hxx b/src/Canvas/FGCanvasSystemAdapter.hxx index 4c1fd6210..d8b0f33b9 100644 --- a/src/Canvas/FGCanvasSystemAdapter.hxx +++ b/src/Canvas/FGCanvasSystemAdapter.hxx @@ -27,12 +27,12 @@ namespace canvas public simgear::canvas::SystemAdapter { public: - virtual simgear::canvas::FontPtr getFont(const std::string& name) const; - virtual void addCamera(osg::Camera* camera) const; - virtual void removeCamera(osg::Camera* camera) const; - virtual osg::ref_ptr getImage(const std::string& path) const; - virtual SGSubsystem* getSubsystem(const std::string& name) const; - virtual simgear::HTTP::Client* getHTTPClient() const; + simgear::canvas::FontPtr getFont(const std::string& name) const override; + void addCamera(osg::Camera* camera) const override; + void removeCamera(osg::Camera* camera) const override; + osg::ref_ptr getImage(const std::string& path) const override; + SGSubsystem* getSubsystem(const std::string& name) const override; + simgear::HTTP::Client* getHTTPClient() const override; }; }