From: Matthew Fernandez Date: Wed, 7 Oct 2020 03:04:06 +0000 (-0700) Subject: remove unnecessary destructor X-Git-Tag: 2.46.0~20^2^2~40^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70ebb95d688b383a599544920650536892e5dfda;p=graphviz remove unnecessary destructor The compiler-provided default destructor is identical to this, except that the compiler-provided one can also be inlined. --- diff --git a/plugin/visio/VisioRender.cpp b/plugin/visio/VisioRender.cpp index 2b6964640..5903fe852 100644 --- a/plugin/visio/VisioRender.cpp +++ b/plugin/visio/VisioRender.cpp @@ -68,10 +68,6 @@ namespace Visio { } - Render::~Render() - { - } - void Render::BeginGraph(GVJ_t* job) { gvputs(job, "\n"); diff --git a/plugin/visio/VisioRender.h b/plugin/visio/VisioRender.h index de86647d5..8401f6993 100644 --- a/plugin/visio/VisioRender.h +++ b/plugin/visio/VisioRender.h @@ -34,7 +34,6 @@ namespace Visio { public: Render(); - ~Render(); /* render hierarchy */ void BeginGraph(GVJ_t* job);