From 10a16c3761c1f7f8130c9d8dd755f07f990282d0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 2 Oct 2025 23:02:46 +0200 Subject: [PATCH] preen --- esphome/core/helpers.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/esphome/core/helpers.h b/esphome/core/helpers.h index bdfbdf31c2..becde9af7d 100644 --- a/esphome/core/helpers.h +++ b/esphome/core/helpers.h @@ -14,10 +14,6 @@ #include "esphome/core/optional.h" -namespace esphome { -class StringRef; -} - #ifdef USE_ESP8266 #include #endif @@ -49,6 +45,9 @@ class StringRef; namespace esphome { +// Forward declaration to avoid circular dependency with string_ref.h +class StringRef; + /// @name STL backports ///@{