From 7b04f4ea8be10c13fe56a80cc5701b4d0bd52a95 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 17 Mar 2026 18:51:12 -1000 Subject: [PATCH] [http_request] Soften SBO comment to say supported toolchains --- esphome/components/http_request/update/http_request_update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/http_request/update/http_request_update.cpp b/esphome/components/http_request/update/http_request_update.cpp index 0c5fdb2699..a15dc61675 100644 --- a/esphome/components/http_request/update/http_request_update.cpp +++ b/esphome/components/http_request/update/http_request_update.cpp @@ -202,7 +202,7 @@ defer: // Defer to the main loop so all update_info_ and state_ writes happen on the // same thread as readers (API, MQTT, web server). This is a single defer for // both success and error paths to avoid multiple std::function instantiations. - // Lambda captures only 2 pointers (8 bytes) — fits in std::function SBO on all platforms. + // Lambda captures only 2 pointers (8 bytes) — fits in std::function SBO on supported toolchains. this_update->defer([this_update, result]() { if (result->error_str != nullptr) { this_update->status_set_error(result->error_str);