aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/SimpleWeatherService.h
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2024-10-26 11:57:47 +0200
committerFintasticMan <finlay.neon.kid@gmail.com>2024-10-27 18:27:03 +0100
commitcfaad261dc0b8b1af0a8b33d8289782be2c4e57a (patch)
treec16c275fc3b050172f9505c9e68cb9f6f38d5bc5 /src/components/ble/SimpleWeatherService.h
parentf1651c8000f355a87ca601a20d87d1c0aefc545e (diff)
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>’
Diffstat (limited to 'src/components/ble/SimpleWeatherService.h')
-rw-r--r--src/components/ble/SimpleWeatherService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/SimpleWeatherService.h b/src/components/ble/SimpleWeatherService.h
index 03d2f6ff..30cc5c03 100644
--- a/src/components/ble/SimpleWeatherService.h
+++ b/src/components/ble/SimpleWeatherService.h
@@ -19,7 +19,7 @@
#include <cstdint>
#include <string>
-#include <vector>
+#include <array>
#include <memory>
#define min // workaround: nimble's min/max macros conflict with libstdc++