Skip to content

Commit

Permalink
Convert integer to string prior to streaming
Browse files Browse the repository at this point in the history
Signed-off-by: Ananya Muddukrishna <ananya.x.muddukrishna@ericsson.com>
  • Loading branch information
Ananya Muddukrishna committed Mar 8, 2021
1 parent 5dba2f4 commit 96c6dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/src/rclcpp/network_flow_endpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ std::ostream & operator<<(std::ostream & os, const NetworkFlowEndpoint & network
"\"transportProtocol\": \"" << network_flow_endpoint.transport_protocol_ << "\", " <<
"\"internetProtocol\": \"" << network_flow_endpoint.internet_protocol_ << "\", " <<
"\"transportPort\": \"" << network_flow_endpoint.transport_port_ << "\", " <<
"\"flowLabel\": \"" << network_flow_endpoint.flow_label_ << "\", " <<
"\"flowLabel\": \"" << std::to_string(network_flow_endpoint.flow_label_) << "\", " <<
"\"dscp\": \"" << std::to_string(network_flow_endpoint.dscp_) << "\", " <<
"\"internetAddress\": \"" << network_flow_endpoint.internet_address_ << "\"" <<
"}";
Expand Down

0 comments on commit 96c6dbb

Please sign in to comment.