From eeab02685241142ce99c19f66491fc1c4e8b8ed0 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Thu, 19 Oct 2017 21:07:39 +0200 Subject: [PATCH] Allow ObjectPath in PathIface constructor --- source/ddbus/simple.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/ddbus/simple.d b/source/ddbus/simple.d index 96cd6aa..d58ac12 100644 --- a/source/ddbus/simple.d +++ b/source/ddbus/simple.d @@ -8,6 +8,10 @@ import std.string; import std.traits; class PathIface { + this(Connection conn, string dest, ObjectPath path, string iface) { + this(conn, dest, path.value, iface); + } + this(Connection conn, string dest, string path, string iface) { this.conn = conn; this.dest = dest.toStringz();