summaryrefslogtreecommitdiff
path: root/gio/src/resolver.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/resolver.ccg')
-rw-r--r--gio/src/resolver.ccg16
1 files changed, 8 insertions, 8 deletions
diff --git a/gio/src/resolver.ccg b/gio/src/resolver.ccg
index 2f5f6948..0c5f9592 100644
--- a/gio/src/resolver.ccg
+++ b/gio/src/resolver.ccg
@@ -39,7 +39,7 @@ Resolver::lookup_by_name_async(const Glib::ustring& hostname,
const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_name_async (gobj(),
hostname.c_str(),
@@ -52,7 +52,7 @@ void
Resolver::lookup_by_name_async(const Glib::ustring& hostname,
const SlotAsyncReady& slot)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_name_async (gobj(),
hostname.c_str(),
@@ -66,7 +66,7 @@ Resolver::lookup_by_address_async(const Glib::RefPtr<InetAddress>& address,
const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_address_async (gobj(),
Glib::unwrap(address),
@@ -79,7 +79,7 @@ void
Resolver::lookup_by_address_async(const Glib::RefPtr<InetAddress>& address,
const SlotAsyncReady& slot)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_by_address_async (gobj(),
Glib::unwrap(address),
@@ -95,7 +95,7 @@ Resolver::lookup_service_async(const Glib::ustring& service,
const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_service_async (gobj(),
service.c_str(),
@@ -112,7 +112,7 @@ Resolver::lookup_service_async(const Glib::ustring& service,
const Glib::ustring& domain,
const SlotAsyncReady& slot)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_service_async (gobj(),
service.c_str(),
@@ -129,7 +129,7 @@ Resolver::lookup_records_async(const Glib::ustring& rrname,
const SlotAsyncReady& slot,
const Glib::RefPtr<Cancellable>& cancellable)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_records_async(gobj(),
(rrname.empty() ? 0 : rrname.c_str()),
@@ -144,7 +144,7 @@ Resolver::lookup_records_async(const Glib::ustring& rrname,
ResolverRecordType record_type,
const SlotAsyncReady& slot)
{
- SlotAsyncReady* slot_copy = new SlotAsyncReady(slot);
+ auto slot_copy = new SlotAsyncReady(slot);
g_resolver_lookup_records_async(gobj(),
(rrname.empty() ? 0 : rrname.c_str()),