From 4a4be1cd2f1b6d069081aa117ee539efc80040fc Mon Sep 17 00:00:00 2001 From: Geoff Davis Date: Fri, 13 Oct 2023 13:02:55 -0700 Subject: [PATCH] add std:: prefix to optional --- components/mitsubishi_heatpump/espmhp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/mitsubishi_heatpump/espmhp.h b/components/mitsubishi_heatpump/espmhp.h index 5d8b6f9..b7598c6 100644 --- a/components/mitsubishi_heatpump/espmhp.h +++ b/components/mitsubishi_heatpump/espmhp.h @@ -158,11 +158,11 @@ class MitsubishiHeatPump : public esphome::PollingComponent, public esphome::cli int tx_pin_ = -1; bool operating_ = false; - optional>> remote_operating_timeout_; - optional>> remote_idle_timeout_; - optional>> remote_ping_timeout_; - optional> last_remote_temperature_sensor_update_; - optional> last_ping_request_; + std::optional>> remote_operating_timeout_; + std::optional>> remote_idle_timeout_; + std::optional>> remote_ping_timeout_; + std::optional> last_remote_temperature_sensor_update_; + std::optional> last_ping_request_; }; #endif