Clang-format aos
It has drifted... Clean it up a bit.
Change-Id: I2fe31a2187b4f690634ae6942786575db20192af
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/events/logging/log_cat.cc b/aos/events/logging/log_cat.cc
index d85b79b..3e1dd1e 100644
--- a/aos/events/logging/log_cat.cc
+++ b/aos/events/logging/log_cat.cc
@@ -315,30 +315,29 @@
VLOG(1) << "Listening on " << name << " " << type;
CHECK_NOTNULL(channel->schema());
- event_loop_->MakeRawWatcher(
- channel,
- [this, channel, start_time, end_time](const aos::Context &context,
- const void * /*message*/) {
- if (!FLAGS_print) {
- return;
- }
+ event_loop_->MakeRawWatcher(channel, [this, channel, start_time,
+ end_time](
+ const aos::Context &context,
+ const void * /*message*/) {
+ if (!FLAGS_print) {
+ return;
+ }
- if (!FLAGS_fetch && !started_) {
- return;
- }
+ if (!FLAGS_fetch && !started_) {
+ return;
+ }
- if (context.monotonic_event_time < start_time ||
- context.monotonic_event_time > end_time) {
- return;
- }
+ if (context.monotonic_event_time < start_time ||
+ context.monotonic_event_time > end_time) {
+ return;
+ }
- PrintMessage(node_name_, node_factory_, channel, context,
- builder_);
- ++(*message_print_counter_);
- if (FLAGS_count > 0 && *message_print_counter_ >= FLAGS_count) {
- factory_->Exit();
- }
- });
+ PrintMessage(node_name_, node_factory_, channel, context, builder_);
+ ++(*message_print_counter_);
+ if (FLAGS_count > 0 && *message_print_counter_ >= FLAGS_count) {
+ factory_->Exit();
+ }
+ });
}
}
}