[http_request] Soften SBO comment to say supported toolchains

This commit is contained in:
J. Nick Koston
2026-03-17 18:51:12 -10:00
parent fd70517445
commit 7b04f4ea8b
@@ -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);