From 456bf86e662aa6d73e86ac0155a6428131d6221e Mon Sep 17 00:00:00 2001 From: cutealien Date: Tue, 12 Apr 2022 21:58:35 +0000 Subject: [PATCH] Add missing IRR_OVERRIDE in some functions. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6332 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CBillboardSceneNode.h | 4 ++-- source/Irrlicht/CTextSceneNode.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Irrlicht/CBillboardSceneNode.h b/source/Irrlicht/CBillboardSceneNode.h index 0e3a74d4..2e7379ee 100644 --- a/source/Irrlicht/CBillboardSceneNode.h +++ b/source/Irrlicht/CBillboardSceneNode.h @@ -73,13 +73,13 @@ public: virtual const core::aabbox3d& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE; //! Get the amount of mesh buffers. - virtual u32 getMeshBufferCount() const + virtual u32 getMeshBufferCount() const IRR_OVERRIDE { return Buffer ? 1 : 0; } //! Get pointer to the mesh buffer. - virtual IMeshBuffer* getMeshBuffer(u32 nr) const + virtual IMeshBuffer* getMeshBuffer(u32 nr) const IRR_OVERRIDE { if ( nr == 0 ) return Buffer; diff --git a/source/Irrlicht/CTextSceneNode.h b/source/Irrlicht/CTextSceneNode.h index d8af7874..2afd8c96 100644 --- a/source/Irrlicht/CTextSceneNode.h +++ b/source/Irrlicht/CTextSceneNode.h @@ -146,13 +146,13 @@ namespace scene virtual const core::aabbox3d& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) IRR_OVERRIDE; //! Get the amount of mesh buffers. - virtual u32 getMeshBufferCount() const + virtual u32 getMeshBufferCount() const IRR_OVERRIDE { return Mesh ? Mesh->getMeshBufferCount() : 0; } //! Get pointer to the mesh buffer. - virtual IMeshBuffer* getMeshBuffer(u32 nr) const + virtual IMeshBuffer* getMeshBuffer(u32 nr) const IRR_OVERRIDE { return Mesh ? Mesh->getMeshBuffer(nr) : 0; }