From e3decfa3be6bd5d7d400b63a4baa7e8a735371ff Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 6 Mar 2021 14:01:22 +0100 Subject: [PATCH] Fix inconsistent-missing-override warnings --- include/IBoneSceneNode.h | 4 ++-- include/ICameraSceneNode.h | 4 ++-- include/IGUIFontBitmap.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/IBoneSceneNode.h b/include/IBoneSceneNode.h index 4032bb0..a96a28b 100644 --- a/include/IBoneSceneNode.h +++ b/include/IBoneSceneNode.h @@ -74,13 +74,13 @@ namespace scene virtual E_BONE_ANIMATION_MODE getAnimationMode() const = 0; //! Get the axis aligned bounding box of this node - virtual const core::aabbox3d& getBoundingBox() const = 0; + virtual const core::aabbox3d& getBoundingBox() const _IRR_OVERRIDE_ = 0; //! Returns the relative transformation of the scene node. //virtual core::matrix4 getRelativeTransformation() const = 0; //! The animation method. - virtual void OnAnimate(u32 timeMs) =0; + virtual void OnAnimate(u32 timeMs) _IRR_OVERRIDE_ =0; //! The render method. /** Does nothing as bones are not visible. */ diff --git a/include/ICameraSceneNode.h b/include/ICameraSceneNode.h index 2743dae..a157aac 100644 --- a/include/ICameraSceneNode.h +++ b/include/ICameraSceneNode.h @@ -72,7 +72,7 @@ namespace scene ISceneManager::addCameraSceneNodeFPS, may want to get this input for changing their position, look at target or whatever. */ - virtual bool OnEvent(const SEvent& event) =0; + virtual bool OnEvent(const SEvent& event) _IRR_OVERRIDE_ =0; //! Sets the look at target of the camera /** If the camera's target and rotation are bound ( @see @@ -90,7 +90,7 @@ namespace scene bindTargetAndRotation() ) then calling this will also change the camera's target to match the rotation. \param rotation New rotation of the node in degrees. */ - virtual void setRotation(const core::vector3df& rotation) =0; + virtual void setRotation(const core::vector3df& rotation) _IRR_OVERRIDE_ =0; //! Gets the current look at target of the camera /** \return The current look at target of the camera, in world co-ordinates */ diff --git a/include/IGUIFontBitmap.h b/include/IGUIFontBitmap.h index 42b94d9..4141236 100644 --- a/include/IGUIFontBitmap.h +++ b/include/IGUIFontBitmap.h @@ -36,7 +36,7 @@ public: kerning value. For example, EGFT_BITMAP will add the right kerning value of previousLetter to the left side kerning value of thisLetter, then add the global value. */ - virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const = 0; + virtual s32 getKerningWidth(const wchar_t* thisLetter=0, const wchar_t* previousLetter=0) const _IRR_OVERRIDE_ = 0; }; } // end namespace gui