From 4c416fc6fb8dd232375288a8f0fd2893d3449db9 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Sat, 22 Apr 2017 23:23:48 +0200 Subject: [PATCH] Fix dict implementation --- source/ddbus/conv.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ddbus/conv.d b/source/ddbus/conv.d index 8bc6861..0eaae72 100644 --- a/source/ddbus/conv.d +++ b/source/ddbus/conv.d @@ -83,7 +83,7 @@ T readIter(T)(DBusMessageIter *iter) if (canDBus!T) { DBusMessageIter sub; dbus_message_iter_recurse(iter, &sub); ret.key = readIter!K(&sub); - ret.value = readIter!K(&sub); + ret.value = readIter!V(&sub); } else static if(is(T t : U[], U)) { assert(dbus_message_iter_get_element_type(iter) == typeCode!U); DBusMessageIter sub;