Expose file size from log file reader classes
Change-Id: Ib826c4405ba78e9e1ab37dfd1893d67fc08a7522
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/logging/single_node_merge.cc b/aos/events/logging/single_node_merge.cc
index afb88af..aee2c5e 100644
--- a/aos/events/logging/single_node_merge.cc
+++ b/aos/events/logging/single_node_merge.cc
@@ -20,8 +20,7 @@
namespace chrono = std::chrono;
int Main(int argc, char **argv) {
- const std::vector<std::string> unsorted_logfiles = FindLogs(argc, argv);
- const LogFilesContainer log_files(SortParts(unsorted_logfiles));
+ const LogFilesContainer log_files(SortParts(FindLogs(argc, argv)));
const Configuration *config = log_files.config();
// Haven't tested this on a single node log, and don't really see a need to