diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-28 21:44:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-28 21:44:09 +0000 |
| commit | 93f9d3d462d52294f7ab918c39cdfc03c6838b0b (patch) | |
| tree | 1e0d9bdcd92473015d8fa1b124c26ab24184d291 /RenderScript/include/TextureParser.h | |
| parent | Fixed clang warning (diff) | |
| download | DiligentTools-93f9d3d462d52294f7ab918c39cdfc03c6838b0b.tar.gz DiligentTools-93f9d3d462d52294f7ab918c39cdfc03c6838b0b.zip | |
Fixed clang build warnings re overridden virtual functions
Diffstat (limited to 'RenderScript/include/TextureParser.h')
| -rw-r--r-- | RenderScript/include/TextureParser.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<ITexture> + class TextureParser final : public EngineObjectParserCommon<ITexture> { 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<Diligent::BIND_FLAGS> m_BindFlagEnumMapping; |
