1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 06:04:33 +00:00

One last pair of rule-of-three warnings for Clang

This commit is contained in:
AnyOldName3 2025-09-25 00:05:35 +01:00
parent 7ebb0cf577
commit 4eb69427dd

View file

@ -48,6 +48,10 @@ namespace Fx
mPasses.emplace_back(subpass, copyOp); mPasses.emplace_back(subpass, copyOp);
} }
~DispatchNode() = default;
DispatchNode& operator=(const DispatchNode&) = default;
struct SubPass struct SubPass
{ {
SubPass() = default; SubPass() = default;
@ -70,6 +74,10 @@ namespace Fx
if (other.mRenderTexture) if (other.mRenderTexture)
mRenderTexture = new osg::Texture2D(*other.mRenderTexture, copyOp); mRenderTexture = new osg::Texture2D(*other.mRenderTexture, copyOp);
} }
~SubPass() = default;
SubPass& operator=(const SubPass&) = default;
}; };
void compile() void compile()