From 4b5424f69527b0dfe4eddc35cb74d658f0d574d4 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 26 Jun 2025 00:08:15 +0200 Subject: [PATCH] nolint --- esphome/components/api/api_connection.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esphome/components/api/api_connection.h b/esphome/components/api/api_connection.h index 0a1b1eeebc..40f60cecc5 100644 --- a/esphome/components/api/api_connection.h +++ b/esphome/components/api/api_connection.h @@ -564,7 +564,9 @@ class APIConnection : public APIServerConnection { bool has_tagged_string_ptr_() const { return (data_.tagged & 1) != 0; } // Get the actual string pointer (clears the tag bit) - std::string *get_string_ptr_() const { return reinterpret_cast(data_.tagged & ~uintptr_t(1)); } + std::string *get_string_ptr_() const { + return reinterpret_cast(data_.tagged & ~uintptr_t(1)); + } // NOLINT(performance-no-int-to-ptr) union { MessageCreatorPtr ptr;