[vlmc-devel] WorkflowFileRenderer: Replace empty destructor by a defaulted one

Hugo Beauzée-Luyssen git at videolan.org
Mon Mar 28 16:24:12 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 28 14:37:07 2016 +0200| [3050972cda2c066c105c82cbb6dea7e8df79ff70] | committer: Hugo Beauzée-Luyssen

WorkflowFileRenderer: Replace empty destructor by a defaulted one

> https://code.videolan.org/videolan/vlmc/commit/3050972cda2c066c105c82cbb6dea7e8df79ff70
---

 src/Renderer/WorkflowFileRenderer.cpp | 4 ----
 src/Renderer/WorkflowFileRenderer.h   | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/Renderer/WorkflowFileRenderer.cpp b/src/Renderer/WorkflowFileRenderer.cpp
index 5169b22..259dd1c 100644
--- a/src/Renderer/WorkflowFileRenderer.cpp
+++ b/src/Renderer/WorkflowFileRenderer.cpp
@@ -32,10 +32,6 @@ WorkflowFileRenderer::WorkflowFileRenderer( Backend::IBackend* backend, MainWork
 {
 }
 
-WorkflowFileRenderer::~WorkflowFileRenderer()
-{
-}
-
 void
 WorkflowFileRenderer::run( const QString& outputFileName, quint32 width,
                             quint32 height, double fps, const QString& ar,
diff --git a/src/Renderer/WorkflowFileRenderer.h b/src/Renderer/WorkflowFileRenderer.h
index 4628188..4e21afa 100644
--- a/src/Renderer/WorkflowFileRenderer.h
+++ b/src/Renderer/WorkflowFileRenderer.h
@@ -36,7 +36,7 @@ class   WorkflowFileRenderer : public WorkflowRenderer
 
 public:
     WorkflowFileRenderer( Backend::IBackend* backend , MainWorkflow* workflow );
-    virtual ~WorkflowFileRenderer();
+    virtual ~WorkflowFileRenderer() = default;
 
     void                        run(const QString& outputFileName, quint32 width,
                                     quint32 height, double fps, const QString& ar,



More information about the Vlmc-devel mailing list