lib/dbus/Values: use T::Traits, not T

This template was never instantiated, so the problem never occurred.
This commit is contained in:
Max Kellermann 2020-10-23 12:41:23 +02:00 committed by Max Kellermann
parent 8f89e3f7f4
commit 79fd6143ec

View File

@ -110,7 +110,7 @@ static WrapFixedArray<T> FixedArray(const T *_data,
template<typename... T>
struct WrapStruct {
using Traits = StructTypeTraits<T...>;
using Traits = StructTypeTraits<typename T::Traits...>;
std::tuple<const T&...> values;