Skip to content

Commit

Permalink
don't show flow-controller if default
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed May 29, 2024
1 parent 65bd61e commit 34e31ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion third-party/realdds/src/dds-serialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ std::ostream & operator<<( std::ostream & os, WriterProxyData const & info )
os << /*field::separator << "durability" << field::group() <<*/ info.m_qos.m_durability;
if( ! ( info.m_qos.m_liveliness == eprosima::fastdds::dds::LivelinessQosPolicy() ) )
os << field::separator << "liveliness" << field::value << info.m_qos.m_liveliness;
if( info.m_qos.m_publishMode.flow_controller_name )
if( info.m_qos.m_publishMode.flow_controller_name
&& info.m_qos.m_publishMode.flow_controller_name != eprosima::fastdds::rtps::FASTDDS_FLOW_CONTROLLER_DEFAULT )
os << field::separator << "flow-controller" << field::value << "'"
<< info.m_qos.m_publishMode.flow_controller_name << "'";
return os;
Expand Down

0 comments on commit 34e31ef

Please sign in to comment.