Less auto in log_reader.cc
Change-Id: I6c9e827dd33019ff347be18a5be0fd4dc321443c
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/events/logging/log_reader.cc b/aos/events/logging/log_reader.cc
index 0cb96c6..b078d18 100644
--- a/aos/events/logging/log_reader.cc
+++ b/aos/events/logging/log_reader.cc
@@ -1,5 +1,6 @@
#include "aos/events/logging/log_reader.h"
+#include <dirent.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -1977,7 +1978,7 @@
// Send! Use the replayed queue index here instead of the logged queue index
// for the remote queue index. This makes re-logging work.
- const auto err = sender->Send(
+ const RawSender::Error err = sender->Send(
SharedSpan(timestamped_message.data, ×tamped_message.data->span),
timestamped_message.monotonic_remote_time.time,
timestamped_message.realtime_remote_time, remote_queue_index,