From d5675331613e5629cf57bb57538cee94cf3b9b59 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 11 Jul 2025 05:45:49 -1000 Subject: [PATCH] no template --- esphome/components/api/proto.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/api/proto.h b/esphome/components/api/proto.h index 784cf62d06..6932a85d71 100644 --- a/esphome/components/api/proto.h +++ b/esphome/components/api/proto.h @@ -311,8 +311,7 @@ struct RepeatedFieldMeta { }; // Binary search for field lookup - optimized for performance -template -inline const MetaType *find_field_binary(const MetaType *fields, uint8_t count, uint8_t field_id, uint8_t wire_type) { +inline const FieldMeta *find_field_binary(const FieldMeta *fields, uint8_t count, uint8_t field_id, uint8_t wire_type) { uint8_t left = 0; uint8_t right = count;