summaryrefslogtreecommitdiff
path: root/gio/src/socketaddressenumerator.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/socketaddressenumerator.ccg')
-rw-r--r--gio/src/socketaddressenumerator.ccg2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/src/socketaddressenumerator.ccg b/gio/src/socketaddressenumerator.ccg
index b783ec8a..d7aca9b6 100644
--- a/gio/src/socketaddressenumerator.ccg
+++ b/gio/src/socketaddressenumerator.ccg
@@ -31,7 +31,7 @@ namespace Gio {
// Create a copy of the slot.
// A pointer to it will be passed through the callback's data parameter
// and deleted in the callback.
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_socket_address_enumerator_next_async(gobj(),
Glib::unwrap(cancellable),