summaryrefslogtreecommitdiff
path: root/gio/src/application.ccg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-03-31 11:09:44 +0200
committerMurray Cumming <murrayc@murrayc.com>2016-03-31 11:39:07 +0200
commitfb9f840e18edaa54f6c51762b2b9aa67f6fcd85b (patch)
treea02950c0aba9e5d00d2e425975957a45bfcb6ef6 /gio/src/application.ccg
parent9a72522d16457319c7bd9829b23127a770454edd (diff)
downloadglibmm-fb9f840e18edaa54f6c51762b2b9aa67f6fcd85b.tar.gz
C++11: .hg/.ccg files: Replace typedefs with using.
Diffstat (limited to 'gio/src/application.ccg')
-rw-r--r--gio/src/application.ccg6
1 files changed, 3 insertions, 3 deletions
diff --git a/gio/src/application.ccg b/gio/src/application.ccg
index 7b80eed1..7b53edf2 100644
--- a/gio/src/application.ccg
+++ b/gio/src/application.ccg
@@ -57,7 +57,7 @@ static void
Application_signal_open_callback(
GApplication* self, GFile** files, gint n_files, const gchar* hint, void* data)
{
- typedef sigc::slot<void, const Gio::Application::type_vec_files&, const Glib::ustring&> SlotType;
+ using SlotType = sigc::slot<void, const Gio::Application::type_vec_files&, const Glib::ustring&>;
Gio::Application::type_vec_files vec_files(n_files);
for (int i = 0; i < n_files; ++i)
@@ -92,7 +92,7 @@ Application_signal_open_notify_callback(
GApplication* self, GFile** files, gint n_files, const gchar* hint, void* data)
{
using namespace Gio;
- typedef sigc::slot<void, const Application::type_vec_files&, const Glib::ustring&> SlotType;
+ using SlotType = sigc::slot<void, const Application::type_vec_files&, const Glib::ustring&>;
Application::type_vec_files vec_files(n_files);
for (int i = 0; i < n_files; i++)
@@ -186,7 +186,7 @@ private:
OptionArgCallbackData& operator=(const OptionArgCallbackData&);
};
-typedef std::map<Glib::ustring, OptionArgCallbackData*> OptionArgCallbackDataMap;
+using OptionArgCallbackDataMap = std::map<Glib::ustring, OptionArgCallbackData*>;
OptionArgCallbackDataMap option_arg_callback_data;
// Gio::Application instances may be used in different threads.