diff options
author | Avamander <avamander@gmail.com> | 2021-11-28 15:33:06 +0200 |
---|---|---|
committer | Avamander <avamander@gmail.com> | 2021-12-04 22:03:40 +0200 |
commit | ffb17357e74fd80a0381361a5cbc6bc481d28000 (patch) | |
tree | 35ecac9774eb91200d73f2a7ff967ed1290ba709 /src/components/ble/weather/WeatherData.h | |
parent | ed6f0aade4db811b5013441c57944baff4528938 (diff) |
Fixed a few compilation errors, fixed UUID.
Diffstat (limited to 'src/components/ble/weather/WeatherData.h')
-rw-r--r-- | src/components/ble/weather/WeatherData.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ble/weather/WeatherData.h b/src/components/ble/weather/WeatherData.h index 9b424004..19b9709d 100644 --- a/src/components/ble/weather/WeatherData.h +++ b/src/components/ble/weather/WeatherData.h @@ -250,7 +250,7 @@ namespace Pinetime { class Location : public TimelineHeader { public: /** Location name */ - std::unique_ptr<std::string> location; + std::string location; /** Altitude relative to sea level in meters */ int16_t altitude; /** Latitude, EPSG:3857 (Google Maps, Openstreetmaps datum) */ @@ -311,7 +311,7 @@ namespace Pinetime { * For chemical compounds use the molecular formula e.g. "NO2", "CO2", "O3" * For pollen use the genus, e.g. "Betula" for birch or "Alternaria" for that mold's spores */ - std::unique_ptr<std::string> polluter; + std::string polluter; /** * Amount of the pollution in SI units, * otherwise it's going to be difficult to create UI, alerts |