Skip to content

Commit

Permalink
Added init for uninit param for ServiceDetailResponse (#80)
Browse files Browse the repository at this point in the history
Signed-off-by: AssemblyJohn <ioan.bogdann@gmail.com>
  • Loading branch information
AssemblyJohn authored Feb 12, 2025
1 parent cae9dd8 commit 05714aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iso15118/message/service_detail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ template <> void convert(const ServiceDetailResponse& in, iso20_ServiceDetailRes
uint8_t t = 0;
for (auto const& in_parameter : in_parameter_set.parameter) {
auto& out_parameter = out_paramater_set.Parameter.array[t++];
init_iso20_ParameterType(&out_parameter);

CPP2CB_STRING(in_parameter.name, out_parameter.Name);
std::visit(ParamterValueVisitor(out_parameter), in_parameter.value);
}
Expand Down

0 comments on commit 05714aa

Please sign in to comment.