Revert modification for clang, for now it fails on gcc

This commit is contained in:
Stanislav Angelovic
2018-03-15 17:16:23 +01:00
parent 10d0da9067
commit d68be891ee

View File

@ -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 <std::size_t _I>
auto& get()