From b81c4b494c0b60272e7c246b67638ded706274f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Angelovi=C4=8D?= Date: Tue, 27 Feb 2018 08:26:42 +0000 Subject: [PATCH] Add clang workaround comment --- include/sdbus-c++/Types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()