Skip to content

Commit 7792d58

Browse files
committed
Refs #21185: Uncrustify
Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com>
1 parent 089843f commit 7792d58

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

examples/cpp/flow_control/CLIParser.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

examples/cpp/flow_control/SubscriberApp.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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_))

0 commit comments

Comments
 (0)