File tree Expand file tree Collapse file tree
examples/cpp/flow_control Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ class CLIParser
231231 EPROSIMA_LOG_ERROR (CLI_PARSER , " period argument is only valid for publisher entity" );
232232 print_help (EXIT_FAILURE );
233233 }
234-
234+
235235 if (++i < argc)
236236 {
237237 try
@@ -240,7 +240,7 @@ class CLIParser
240240 if (input > std::numeric_limits<uint64_t >::max ())
241241 {
242242 throw std::out_of_range (" period argument " + std::string (
243- argv[i]) + " out of range." );
243+ argv[i]) + " out of range." );
244244 }
245245 config.period = input;
246246 }
Original file line number Diff line number Diff line change @@ -147,12 +147,14 @@ void SubscriberApp::on_data_available(
147147 if (it_f != fast_writer_guid.end ())
148148 {
149149 fast_messages++;
150- std::cout << " Sample RECEIVED from FAST writer with id " << *it_f << " , index=" << msg.index () << std::endl;
150+ std::cout << " Sample RECEIVED from FAST writer with id " << *it_f << " , index=" << msg.index () <<
151+ std::endl;
151152 }
152153 else if (it_s != slow_writer_guid.end ())
153154 {
154155 slow_messages++;
155- std::cout << " Sample RECEIVED from SLOW writer with id " << *it_s << " , index=" << msg.index () << std::endl;
156+ std::cout << " Sample RECEIVED from SLOW writer with id " << *it_s << " , index=" << msg.index () <<
157+ std::endl;
156158 }
157159
158160 if ((samples_ > 0 ) && (fast_messages >= samples_) && (slow_messages >= samples_))
You can’t perform that action at this time.
0 commit comments