From 7ebb0cf57769fafe8ce738a77bf6d7c75210dad6 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 24 Sep 2025 00:38:36 +0100 Subject: [PATCH] Some warnings for Clang --- components/sceneutil/cullsafeboundsvisitor.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/sceneutil/cullsafeboundsvisitor.hpp b/components/sceneutil/cullsafeboundsvisitor.hpp index b3a9789206..075ee9ab5a 100644 --- a/components/sceneutil/cullsafeboundsvisitor.hpp +++ b/components/sceneutil/cullsafeboundsvisitor.hpp @@ -26,14 +26,14 @@ namespace SceneUtil mBoundingBox.init(); } - void apply(osg::Drawable& drawable) + void apply(osg::Drawable& drawable) override { osg::BoundingBox bbox = drawable.getInitialBound(); bbox.expandBy(drawable.computeBoundingBox()); applyBoundingBox(bbox); } - void apply(osg::Transform& transform) + void apply(osg::Transform& transform) override { osg::Matrix matrix; if (!mMatrixStack.empty()) @@ -63,4 +63,4 @@ namespace SceneUtil std::vector mMatrixStack; }; } -#endif // OPENMW_COMPONENTS_SCENEUTIL_CULLSAFEBOUNDSVISITOR_H \ No newline at end of file +#endif // OPENMW_COMPONENTS_SCENEUTIL_CULLSAFEBOUNDSVISITOR_H