Author: Lionel Elie Mamane <lionel@mamane.lu>
SimpleWeatherService #include <array> not <vector> as that is what is actually used. Fixes build failure InfiniTime/src/components/ble/SimpleWeatherService.h:86:18: error: field ‘location’ has incomplete type ‘Pinetime::Controllers::SimpleWeatherService::Location’ {aka ‘std::array<char, 33>’
src/components/ble/SimpleWeatherService.h | 2 +-
diff --git a/src/components/ble/SimpleWeatherService.h b/src/components/ble/SimpleWeatherService.h index 03d2f6ff038c5637145645f4aa3444e437d2639f..30cc5c03a2e77ba56e959eedca088308a44629e3 100644 --- a/src/components/ble/SimpleWeatherService.h +++ b/src/components/ble/SimpleWeatherService.h @@ -19,7 +19,7 @@ #pragma once #include <cstdint> #include <string> -#include <vector> +#include <array> #include <memory> #define min // workaround: nimble's min/max macros conflict with libstdc++