summaryrefslogtreecommitdiffstats
path: root/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-02-14 12:07:00 +0100
committerLars Knoll <lars.knoll@qt.io>2021-03-02 14:49:49 +0000
commit3c59d3c008665c7075ad6fb3e7f89a295518036d (patch)
tree9b150ac0548dbc4729c6587934bc7287038ae9b0 /src/qtmultimediaquicktools/qsgvideonode_rgb.cpp
parent2e84ea2c3b13d51bb03c0d386daaea23e9e40226 (diff)
Modernize code base
Use clang-modernize to modernize the code base * Use = default where applicable * Use nullptr Change-Id: I88b307e76b7f7dde090354ff4b292cea76f5c60c Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_rgb.cpp')
-rw-r--r--src/qtmultimediaquicktools/qsgvideonode_rgb.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp b/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp
index dd6241634..72404c427 100644
--- a/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp
+++ b/src/qtmultimediaquicktools/qsgvideonode_rgb.cpp
@@ -192,9 +192,7 @@ QSGVideoNode_RGB::QSGVideoNode_RGB(const QVideoSurfaceFormat &format) :
setMaterial(m_material);
}
-QSGVideoNode_RGB::~QSGVideoNode_RGB()
-{
-}
+QSGVideoNode_RGB::~QSGVideoNode_RGB() = default;
void QSGVideoNode_RGB::setCurrentFrame(const QVideoFrame &frame, FrameFlags)
{