diff options
author | Avamander <avamander@gmail.com> | 2021-06-20 21:37:53 +0300 |
---|---|---|
committer | Avamander <avamander@gmail.com> | 2021-12-04 22:03:40 +0200 |
commit | 4b2dcbb4f053a89faab50c03083c71fabf9f288a (patch) | |
tree | 6fc3aba5c8c2c3fbe5cf893479d30d748814ca1c /src/components/ble/weather/WeatherData.h | |
parent | 4349657f799bed04538d95c8d54653586100e82e (diff) |
Fixed a few bugs, enabled UsefulBuf library optimizations
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 7cf68418..ee2a364d 100644 --- a/src/components/ble/weather/WeatherData.h +++ b/src/components/ble/weather/WeatherData.h @@ -248,7 +248,7 @@ namespace Pinetime { class Location : public TimelineHeader { public: /** Location name */ - std::string location; + std::unique_ptr<std::string> location; /** Altitude relative to sea level in meters */ int16_t altitude; /** Latitude, EPSG:3857 (Google Maps, Openstreetmaps datum) */ @@ -309,7 +309,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::string polluter; + std::unique_ptr<std::string> polluter; /** * Amount of the pollution in SI units, * otherwise it's going to be difficult to create UI, alerts |