From 0a4f015783352c8070e57f8c76a6b062fb6352d6 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Sun, 19 Mar 2023 12:36:13 +0200 Subject: WeatherService: const DateTimeController reference --- src/components/ble/weather/WeatherService.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/ble/weather/WeatherService.h') diff --git a/src/components/ble/weather/WeatherService.h b/src/components/ble/weather/WeatherService.h index d1c347a9..609e8760 100644 --- a/src/components/ble/weather/WeatherService.h +++ b/src/components/ble/weather/WeatherService.h @@ -40,7 +40,7 @@ namespace Pinetime { class WeatherService { public: - explicit WeatherService(DateTime& dateTimeController); + explicit WeatherService(const DateTime& dateTimeController); void Init(); @@ -129,7 +129,7 @@ namespace Pinetime { uint16_t eventHandle {}; - Pinetime::Controllers::DateTime& dateTimeController; + const Pinetime::Controllers::DateTime& dateTimeController; std::vector> timeline; std::unique_ptr nullTimelineheader = std::make_unique(); -- cgit v1.2.3-70-g09d2