Fix dict implementation

This commit is contained in:
WebFreak001 2017-04-22 23:23:48 +02:00
parent 4017e95aba
commit 4c416fc6fb

View file

@ -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;