]> granicus.if.org Git - graphviz/commitdiff
remove unnecessary destructor
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 7 Oct 2020 03:04:06 +0000 (20:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 15 Oct 2020 00:24:01 +0000 (17:24 -0700)
The compiler-provided default destructor is identical to this, except that the
compiler-provided one can also be inlined.

plugin/visio/VisioRender.cpp
plugin/visio/VisioRender.h

index 2b6964640e66d9df87025fdb2f577d28c49199eb..5903fe8520fe9cf0348c75a8046a0cad69622695 100644 (file)
@@ -68,10 +68,6 @@ namespace Visio
        {
        }
 
-       Render::~Render()
-       {
-       }
-
        void Render::BeginGraph(GVJ_t* job)
        {
                gvputs(job, "<VisioDocument xmlns='http://schemas.microsoft.com/visio/2003/core'>\n");
index de86647d582dd3aad805cfb15353c5ae1ee0e191..8401f6993f0a737584ca60257ba74d9874dee7ed 100644 (file)
@@ -34,7 +34,6 @@ namespace Visio
        {
        public:
                Render();
-               ~Render();
                
                /* render hierarchy */
                void BeginGraph(GVJ_t* job);