From d68be891ee8f3d0787688766a623b1d97b4a8039 Mon Sep 17 00:00:00 2001 From: Stanislav Angelovic Date: Thu, 15 Mar 2018 17:16:23 +0100 Subject: [PATCH] Revert modification for clang, for now it fails on gcc --- include/sdbus-c++/Types.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/sdbus-c++/Types.h b/include/sdbus-c++/Types.h index a9891ed..3ff9050 100644 --- a/include/sdbus-c++/Types.h +++ b/include/sdbus-c++/Types.h @@ -99,10 +99,11 @@ namespace sdbus { 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) - { - } + // However, with this ctor, it doesn't work on gcc :-( TODO Investigate proper solution. + //Struct(const std::tuple<_ValueTypes...>& t) + // : std::tuple<_ValueTypes...>(t) + //{ + //} template auto& get()