[glibmm] Gio::UnixSocketAddress::create(): Remove a default value
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::UnixSocketAddress::create(): Remove a default value
- Date: Thu, 18 May 2017 10:45:45 +0000 (UTC)
commit 82b2dc694fd2ed4e2c51a7aef67cb1c75dab0380
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu May 18 12:43:52 2017 +0200
Gio::UnixSocketAddress::create(): Remove a default value
Remove the default value of the 'type' parameter. As there is another
create() with one parameter, the default value makes a call to
create("pathname") ambiguous. Bug 782592
gio/src/unixsocketaddress.hg | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gio/src/unixsocketaddress.hg b/gio/src/unixsocketaddress.hg
index 2e1d754..263e86b 100644
--- a/gio/src/unixsocketaddress.hg
+++ b/gio/src/unixsocketaddress.hg
@@ -71,8 +71,7 @@ public:
_WRAP_METHOD_DOCS_ONLY(g_unix_socket_address_new_with_type)
static Glib::RefPtr<UnixSocketAddress> create(const std::string& path,
- Type type = Type::ABSTRACT,
- int path_len = -1);
+ Type type, int path_len = -1);
// Deprecated.
_IGNORE(g_unix_socket_address_get_is_abstract)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]