diff options
Diffstat (limited to 'gio/src/unixsocketaddress.ccg')
-rw-r--r-- | gio/src/unixsocketaddress.ccg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gio/src/unixsocketaddress.ccg b/gio/src/unixsocketaddress.ccg index d163b03d..8b5b4809 100644 --- a/gio/src/unixsocketaddress.ccg +++ b/gio/src/unixsocketaddress.ccg @@ -19,11 +19,13 @@ #include <gio/gunixsocketaddress.h> +using Type = Gio::UnixSocketAddress::Type; + namespace Gio { Glib::RefPtr<UnixSocketAddress> -UnixSocketAddress::create(const std::string& path, UnixSocketAddressType type, int path_len) +UnixSocketAddress::create(const std::string& path, Type type, int path_len) { return Glib::wrap(reinterpret_cast<GUnixSocketAddress*>(g_unix_socket_address_new_with_type( path.c_str(), path_len, static_cast<GUnixSocketAddressType>(type)))); |