diff --git a/include/sdbus-c++/Types.h b/include/sdbus-c++/Types.h index bc71214..c2b4765 100644 --- a/include/sdbus-c++/Types.h +++ b/include/sdbus-c++/Types.h @@ -97,8 +97,11 @@ namespace sdbus { public: using std::tuple<_ValueTypes...>::tuple; + // Workaround for clang (where the above constructor inheritance doesn't work) Struct(const std::tuple<_ValueTypes...>& t) - : std::tuple<_ValueTypes...>(t) {} + : std::tuple<_ValueTypes...>(t) + { + } template auto& get()