From 4eb69427dd964dfef5fb49055a6ec20cb27432f8 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Thu, 25 Sep 2025 00:05:35 +0100 Subject: [PATCH] One last pair of rule-of-three warnings for Clang --- components/fx/technique.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/fx/technique.hpp b/components/fx/technique.hpp index 3db46447dd..1cc24d30cc 100644 --- a/components/fx/technique.hpp +++ b/components/fx/technique.hpp @@ -48,6 +48,10 @@ namespace Fx mPasses.emplace_back(subpass, copyOp); } + ~DispatchNode() = default; + + DispatchNode& operator=(const DispatchNode&) = default; + struct SubPass { SubPass() = default; @@ -70,6 +74,10 @@ namespace Fx if (other.mRenderTexture) mRenderTexture = new osg::Texture2D(*other.mRenderTexture, copyOp); } + + ~SubPass() = default; + + SubPass& operator=(const SubPass&) = default; }; void compile()