From e0fb9a45e21daba6afa40ef192aa7d9e3923ef20 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 12 Dec 2019 17:49:05 +0000 Subject: [PATCH] Marking final class to suppress build warning with clang. --- src/rendering/polyrenderer/backend/poly_buffers.h | 2 +- src/rendering/polyrenderer/backend/poly_renderstate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rendering/polyrenderer/backend/poly_buffers.h b/src/rendering/polyrenderer/backend/poly_buffers.h index 35376f291..681bacb2f 100644 --- a/src/rendering/polyrenderer/backend/poly_buffers.h +++ b/src/rendering/polyrenderer/backend/poly_buffers.h @@ -37,7 +37,7 @@ private: std::vector mData; }; -class PolyVertexInputAssembly : public PolyInputAssembly +class PolyVertexInputAssembly final : public PolyInputAssembly { public: size_t mOffsets[VATTR_MAX] = {}; diff --git a/src/rendering/polyrenderer/backend/poly_renderstate.h b/src/rendering/polyrenderer/backend/poly_renderstate.h index 1370a15aa..e6c64bd4e 100644 --- a/src/rendering/polyrenderer/backend/poly_renderstate.h +++ b/src/rendering/polyrenderer/backend/poly_renderstate.h @@ -12,7 +12,7 @@ struct HWViewpointUniforms; -class PolyRenderState : public FRenderState +class PolyRenderState final : public FRenderState { public: PolyRenderState();