summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphBox.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-12-08 17:12:50 +0100
committerDavid Robillard <d@drobilla.net>2019-12-08 20:59:06 +0100
commitecad88d2128f920f5e11cc3ff443d62b225c79d3 (patch)
treec497cebca3455f4201f38d017db0f1566f8004f7 /src/gui/GraphBox.cpp
parent4ca52683ce01f833c552aa62dd80a6a3e48e785c (diff)
downloadingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.gz
ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.bz2
ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.zip
Cleanup: Use "using" instead of "typedef" where appropriate
Diffstat (limited to 'src/gui/GraphBox.cpp')
-rw-r--r--src/gui/GraphBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp
index d248d0a7..5ce54d99 100644
--- a/src/gui/GraphBox.cpp
+++ b/src/gui/GraphBox.cpp
@@ -664,7 +664,7 @@ GraphBox::event_export_image()
dialog.set_transient_for(*_window);
}
- typedef std::map<std::string, std::string> Types;
+ using Types = std::map<std::string, std::string>;
Types types;
types["*.dot"] = "Graphviz DOT";
types["*.pdf"] = "Portable Document Format";