Skip to content

Commit

Permalink
Copy frameInfo in make_message() overload
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Mar 10, 2024
1 parent 77c55d3 commit 9cd8e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ message_ptr make_message(size_t size, message_ptr orig) {
std::copy(orig->begin(), orig->begin() + std::min(size, orig->size()), message->begin());
message->stream = orig->stream;
message->reliability = orig->reliability;
message->frameInfo = orig->frameInfo;
return message;
}

Expand Down

0 comments on commit 9cd8e4b

Please sign in to comment.