diff options
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_texture.cpp')
-rw-r--r-- | src/qtmultimediaquicktools/qsgvideonode_texture.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp index 1b09eed98..45469125b 100644 --- a/src/qtmultimediaquicktools/qsgvideonode_texture.cpp +++ b/src/qtmultimediaquicktools/qsgvideonode_texture.cpp @@ -119,9 +119,7 @@ public: m_texture.reset(new QSGVideoTexture); } - ~QSGVideoMaterial_Texture() override - { - } + ~QSGVideoMaterial_Texture() override = default; [[nodiscard]] QSGMaterialType *type() const override { static QSGMaterialType normalType, swizzleType; @@ -216,9 +214,7 @@ QSGVideoNode_Texture::QSGVideoNode_Texture(const QVideoSurfaceFormat &format) : setMaterial(m_material); } -QSGVideoNode_Texture::~QSGVideoNode_Texture() -{ -} +QSGVideoNode_Texture::~QSGVideoNode_Texture() = default; void QSGVideoNode_Texture::setCurrentFrame(const QVideoFrame &frame, FrameFlags) { |