diff --git a/src/lib/dbus/Types.hxx b/src/lib/dbus/Types.hxx index f3bcae6b8..2181cccfe 100644 --- a/src/lib/dbus/Types.hxx +++ b/src/lib/dbus/Types.hxx @@ -81,20 +81,23 @@ struct DictEntryTypeTraits { using VariantTypeTraits = BasicTypeTraits; +/** + * Concatenate all TypeAsString members to one string. + */ template -struct _MakeStructTypeAsString +struct ConcatTypeAsString : TemplateString::Concat> {}; + ConcatTypeAsString> {}; template -struct _MakeStructTypeAsString : T::TypeAsString {}; +struct ConcatTypeAsString : T::TypeAsString {}; template struct StructTypeTraits { static constexpr int TYPE = DBUS_TYPE_STRUCT; typedef TemplateString::Concat, - _MakeStructTypeAsString, + ConcatTypeAsString, TemplateString::CharAsString> TypeAsString; };