From 93f9d3d462d52294f7ab918c39cdfc03c6838b0b Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 28 Dec 2018 13:44:09 -0800 Subject: Fixed clang build warnings re overridden virtual functions --- RenderScript/include/TextureParser.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'RenderScript/include/TextureParser.h') diff --git a/RenderScript/include/TextureParser.h b/RenderScript/include/TextureParser.h index 0e0e542..f75b5ce 100644 --- a/RenderScript/include/TextureParser.h +++ b/RenderScript/include/TextureParser.h @@ -35,15 +35,15 @@ namespace std namespace Diligent { - class TextureParser : public EngineObjectParserCommon + class TextureParser final : public EngineObjectParserCommon { public: TextureParser( IRenderDevice *pRenderDevice, lua_State *L ); static const Char* TextureLibName; protected: - virtual void CreateObj( lua_State *L ); - + virtual void CreateObj( lua_State *L )override final; + private: // TextureDesc structure does not provide storage for the Name field. // We need to use ObjectDescWrapper<> to be able to store the field. @@ -51,7 +51,7 @@ namespace Diligent ResourceDimEnumMapping m_TexTypeEnumMapping; TextureFormatEnumMapping m_TexFormatEnumMapping; - + // Note that different bind flags are allowed for different objects, // so we need to populate this enum with values suitable for textures only EnumMapping m_BindFlagEnumMapping; -- cgit v1.2.3