From 5e3ec2d34b545e92b11a171731f8a37aafb27c56 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 26 Jun 2025 00:24:53 +0200 Subject: [PATCH] lint --- esphome/components/api/api_connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/components/api/api_connection.h b/esphome/components/api/api_connection.h index 23ebc6b881..e872711e95 100644 --- a/esphome/components/api/api_connection.h +++ b/esphome/components/api/api_connection.h @@ -565,7 +565,8 @@ class APIConnection : public APIServerConnection { // Get the actual string pointer (clears the tag bit) std::string *get_string_ptr_() const { - return reinterpret_cast(data_.tagged & ~uintptr_t(1)); // NOLINT(performance-no-int-to-ptr) + // NOLINTNEXTLINE(performance-no-int-to-ptr) + return reinterpret_cast(data_.tagged & ~uintptr_t(1)); } union {