summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r--src/Patchage.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 022eace..997365d 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -1000,8 +1000,9 @@ Patchage::on_export_image()
dialog.set_default_response(Gtk::RESPONSE_OK);
dialog.set_transient_for(*_main_win);
- typedef std::map<std::string, std::string> Types;
- Types types;
+ using Types = std::map<std::string, std::string>;
+
+ Types types;
types["*.dot"] = "Graphviz DOT";
types["*.pdf"] = "Portable Document Format";
types["*.ps"] = "PostScript";