From 54305c93e8147023c4ac92314f26f13dd257bd86 Mon Sep 17 00:00:00 2001 From: cutealien Date: Sat, 14 Nov 2020 16:42:29 +0000 Subject: [PATCH] Fix Bug #451 IDynamicMeshBuffer.h missing some _IRR_OVERRIDE_ Thanks @ Maksim Gamarnik for report. https://sourceforge.net/p/irrlicht/bugs/451 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6160 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/IDynamicMeshBuffer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/IDynamicMeshBuffer.h b/include/IDynamicMeshBuffer.h index e7c4ffe5..7f9ee48f 100644 --- a/include/IDynamicMeshBuffer.h +++ b/include/IDynamicMeshBuffer.h @@ -26,23 +26,23 @@ namespace scene //! Get the material of this meshbuffer /** \return Material of this buffer. */ - virtual video::SMaterial& getMaterial() =0; + virtual video::SMaterial& getMaterial() _IRR_OVERRIDE_ =0; //! Get the material of this meshbuffer /** \return Material of this buffer. */ - virtual const video::SMaterial& getMaterial() const =0; + virtual const video::SMaterial& getMaterial() const _IRR_OVERRIDE_ =0; //! Get the axis aligned bounding box of this meshbuffer. /** \return Axis aligned bounding box of this buffer. */ - virtual const core::aabbox3df& getBoundingBox() const =0; + virtual const core::aabbox3df& getBoundingBox() const _IRR_OVERRIDE_ =0; //! Set axis aligned bounding box /** \param box User defined axis aligned bounding box to use for this buffer. */ - virtual void setBoundingBox(const core::aabbox3df& box) =0; + virtual void setBoundingBox(const core::aabbox3df& box) _IRR_OVERRIDE_ =0; //! Recalculates the bounding box. Should be called if the mesh changed. - virtual void recalculateBoundingBox() =0; + virtual void recalculateBoundingBox() _IRR_OVERRIDE_ =0; //! Append the vertices and indices to the current buffer /** Only works for compatible vertex types.