]> granicus.if.org Git - graphviz/commitdiff
Visio plugin: replace some typedefs with more modern using directives
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 15 Aug 2021 20:45:11 +0000 (13:45 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 24 Aug 2021 00:00:03 +0000 (17:00 -0700)
plugin/visio/VisioRender.h

index 9baab6e6ec1f833ccdba8d1a95a225705ea49dc1..130d9d6732c5700d882e98bf3bffee6fcb3f88dc 100644 (file)
 
 namespace Visio
 {
-       typedef std::map<Agnode_t*, unsigned int> NodeIds;
-       typedef std::vector<std::unique_ptr<Graphic>> Graphics;
-       typedef std::vector<Text> Texts;
-       typedef std::vector<Hyperlink> Hyperlinks;
+       using NodeIds = std::map<Agnode_t*, unsigned int>;
+       using Graphics = std::vector<std::unique_ptr<Graphic>>;
+       using Texts = std::vector<Text>;
+       using Hyperlinks = std::vector<Hyperlink>;
 
        /* object wrapper for render function callback */
        class Render