Revert modification for clang, for now it fails on gcc

This commit is contained in:
Stanislav Angelovic committed 2018-03-15 17:16:23 +01:00
1 parent 10d0da9067
commit d68be891ee
1 file changed
+5 -4
+5 -4
View File
@@ -99,10 +99,11 @@ namespace sdbus {
using std::tuple<_ValueTypes...>::tuple; using std::tuple<_ValueTypes...>::tuple;
// Workaround for clang (where the above constructor inheritance doesn't work) // Workaround for clang (where the above constructor inheritance doesn't work)
Struct(const std::tuple<_ValueTypes...>& t) // However, with this ctor, it doesn't work on gcc :-( TODO Investigate proper solution.
: std::tuple<_ValueTypes...>(t) //Struct(const std::tuple<_ValueTypes...>& t)
{ // : std::tuple<_ValueTypes...>(t)
} //{
//}
template <std::size_t _I> template <std::size_t _I>
auto& get() auto& get()