Skip to content

Commit

Permalink
SimpleWeatherService #include <array>
Browse files Browse the repository at this point in the history
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>’
  • Loading branch information
Lionel Elie Mamane authored and FintasticMan committed Oct 27, 2024
1 parent f1651c8 commit cfaad26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ble/SimpleWeatherService.h
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit cfaad26

Please sign in to comment.