summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <mk@cm4all.com>2020-10-23 12:41:23 +0200
committerMax Kellermann <max@musicpd.org>2020-11-30 22:11:18 +0100
commit79fd6143ec5fc0f9d8f16d9ea226717c019715e1 (patch)
tree7a3fdac03d2bc72b39fe9f93c9dbf8844c86f48b
parent8f89e3f7f469ee46015bed786fbc76e9191a13a9 (diff)
lib/dbus/Values: use T::Traits, not T
This template was never instantiated, so the problem never occurred.
-rw-r--r--src/lib/dbus/Values.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dbus/Values.hxx b/src/lib/dbus/Values.hxx
index 88c27f7ff..013fa812e 100644
--- a/src/lib/dbus/Values.hxx
+++ b/src/lib/dbus/Values.hxx
@@ -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;