Change signature type from char[] to const(char)[]

This commit is contained in:
Harry T. Vennik 2017-06-05 14:28:20 +02:00
parent f477599a8f
commit 455c0a8f0d
2 changed files with 7 additions and 7 deletions

View file

@ -41,7 +41,7 @@ void buildIter(TS...)(DBusMessageIter *iter, TS args) if(allCanDBus!TS) {
}
DBusMessageIter subStore;
DBusMessageIter* sub = &subStore;
char[] sig = [cast(char) val.type];
const(char)[] sig = [ cast(char) val.type ];
if(val.type == 'a')
sig ~= val.signature;
else if(val.type == 'r')