summaryrefslogtreecommitdiff
path: root/src/components/ble/weather/WeatherData.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ble/weather/WeatherData.h')
-rw-r--r--src/components/ble/weather/WeatherData.h4
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