]> granicus.if.org Git - graphviz/commitdiff
visio plugin: use more modern #pragma once guards
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 8 Apr 2021 00:27:12 +0000 (17:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 17 Apr 2021 23:07:40 +0000 (16:07 -0700)
plugin/visio/VisioGraphic.h
plugin/visio/VisioRender.h
plugin/visio/VisioText.h

index 42d16ecdb1d8ddb9e1260e96d00db2d7fe2c8a63..6c8183cdd56628e6f36ac46e9cf7487ee7a11631 100644 (file)
@@ -8,8 +8,7 @@
  * Contributors: Details at https://graphviz.org
  *************************************************************************/
 
-#ifndef VISIOGRAPHIC_H
-#define VISIOGRAPHIC_H
+#pragma once
 
 #include <common/types.h>
 #include <memory>
@@ -168,5 +167,3 @@ namespace Visio
                std::unique_ptr<Geom> _geom;
        };
 }
-
-#endif
\ No newline at end of file
index b4e2c574062a39198839fd0c8bcc96775c093fd7..503ea1b82fb0082cb2a7c01deb7cebd4a392c07f 100644 (file)
@@ -8,8 +8,7 @@
  * Contributors: Details at https://graphviz.org
  *************************************************************************/
 
-#ifndef VISIORENDER_H
-#define VISIORENDER_H
+#pragma once
 
 #include <map>
 #include <memory>
@@ -84,4 +83,3 @@ namespace Visio
                NodeIds _nodeIds;               /* mapping nodes to assigned shape id */
        };
 }
-#endif
index 638547b3aec1b35e3621b88226969dd3c04d4e12..f189b736323324fb6d9e7b0ed1707b84ff86efa3 100644 (file)
@@ -8,8 +8,7 @@
  * Contributors: Details at https://graphviz.org
  *************************************************************************/
 
-#ifndef VISIOTEXT_H
-#define VISIOTEXT_H
+#pragma once
 
 #include <common/types.h>
 
@@ -114,5 +113,3 @@ namespace Visio
                char* _frame;
        };
 }
-
-#endif