Added constructor for sdbus::Struct

This commit is contained in:
Viliam Lejcik
2017-12-18 19:19:27 +01:00
parent f559fc0663
commit dc5ec014eb

View File

@@ -97,6 +97,9 @@ namespace sdbus {
public:
using std::tuple<_ValueTypes...>::tuple;
Struct(const std::tuple<_ValueTypes...>& t)
: std::tuple<_ValueTypes...>(t) {}
template <std::size_t _I>
auto& get()
{