From 2c290e3bee68129ce88905c82db7e233687c359f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 11 Jul 2025 16:10:39 -1000 Subject: [PATCH] less templates --- esphome/components/api/proto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/api/proto.h b/esphome/components/api/proto.h index 973395ca65..96d5383ddf 100644 --- a/esphome/components/api/proto.h +++ b/esphome/components/api/proto.h @@ -184,6 +184,9 @@ class Proto64Bit { const uint64_t value_; }; +// Forward declaration needed for method declaration +class ProtoMessage; + class ProtoWriteBuffer { public: ProtoWriteBuffer(std::vector *buffer) : buffer_(buffer) {}