diff --git a/include/avnd/binding/dump/DumpCBOR.hpp b/include/avnd/binding/dump/DumpCBOR.hpp index a509c25..f1409ce 100644 --- a/include/avnd/binding/dump/DumpCBOR.hpp +++ b/include/avnd/binding/dump/DumpCBOR.hpp @@ -12,6 +12,7 @@ #include #include +#include #include #include @@ -233,7 +234,7 @@ void print_callback(nlohmann::json& obj) using function_type = decltype(type::call); using refl = avnd::function_reflection_t>; - using args = refl::arguments; + using args = typename refl::arguments; nlohmann::json::array_t arr; auto add = [&arr](A&& a) { arr.push_back(value_type(a)); };