Skip to content

Commit

Permalink
Tuple unpacking without const& qualifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 authored Sep 15, 2023
1 parent 2735351 commit bb3297b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxcp/recorder/rekorder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ class XcpLogFileWriter
{
break;
}
auto const& [category, counter, timestamp, length, payload] = content->value();
auto [category, counter, timestamp, length, payload] = content->value();
const frame_header_t frame{ category, counter, timestamp, length };

store_im(&frame, sizeof(frame));
Expand Down

0 comments on commit bb3297b

Please sign in to comment.