From dc5ec014ebfd395c25ae3418216a9d8a9809eb0a Mon Sep 17 00:00:00 2001 From: Viliam Lejcik Date: Mon, 18 Dec 2017 19:19:27 +0100 Subject: [PATCH] Added constructor for sdbus::Struct --- include/sdbus-c++/Types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sdbus-c++/Types.h b/include/sdbus-c++/Types.h index fc63dd8..bc71214 100644 --- a/include/sdbus-c++/Types.h +++ b/include/sdbus-c++/Types.h @@ -97,6 +97,9 @@ namespace sdbus { public: using std::tuple<_ValueTypes...>::tuple; + Struct(const std::tuple<_ValueTypes...>& t) + : std::tuple<_ValueTypes...>(t) {} + template auto& get() {