From 84070331110cf4e64d71403c4499c3205c24b97b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 3 Mar 2026 19:56:31 -1000 Subject: [PATCH] dead --- esphome/components/api/proto.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/esphome/components/api/proto.h b/esphome/components/api/proto.h index 36b2fd25d9..f630114915 100644 --- a/esphome/components/api/proto.h +++ b/esphome/components/api/proto.h @@ -910,10 +910,6 @@ class ProtoSize { // Implementation of methods that depend on ProtoSize being fully defined -// Free template to calculate encoded size of any message type. -// Replaces the former virtual ProtoMessage::calculated_size() member. -template inline uint32_t calculated_size_of(const T &msg) { return msg.calculate_size(); } - // Implementation of encode_packed_sint32 - must be after ProtoSize is defined inline void ProtoWriteBuffer::encode_packed_sint32(uint32_t field_id, const std::vector &values) { if (values.empty())