Mark monotonic_now and realtime_now as const
Change-Id: I054ecc9c3c64b77e3c2bfa452d996b03797fdf64
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/events/logging/log_reader.h b/aos/events/logging/log_reader.h
index 5cccdeb..3eebba7 100644
--- a/aos/events/logging/log_reader.h
+++ b/aos/events/logging/log_reader.h
@@ -400,7 +400,7 @@
->node_event_loop_factory_->node();
}
- monotonic_clock::time_point monotonic_now() {
+ monotonic_clock::time_point monotonic_now() const {
return node_event_loop_factory_->monotonic_now();
}