Fix dict implementation
This commit is contained in:
parent
4017e95aba
commit
4c416fc6fb
|
@ -83,7 +83,7 @@ T readIter(T)(DBusMessageIter *iter) if (canDBus!T) {
|
||||||
DBusMessageIter sub;
|
DBusMessageIter sub;
|
||||||
dbus_message_iter_recurse(iter, &sub);
|
dbus_message_iter_recurse(iter, &sub);
|
||||||
ret.key = readIter!K(&sub);
|
ret.key = readIter!K(&sub);
|
||||||
ret.value = readIter!K(&sub);
|
ret.value = readIter!V(&sub);
|
||||||
} else static if(is(T t : U[], U)) {
|
} else static if(is(T t : U[], U)) {
|
||||||
assert(dbus_message_iter_get_element_type(iter) == typeCode!U);
|
assert(dbus_message_iter_get_element_type(iter) == typeCode!U);
|
||||||
DBusMessageIter sub;
|
DBusMessageIter sub;
|
||||||
|
|
Loading…
Reference in a new issue