1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00

oops, removed wrong one

This commit is contained in:
J. Nick Koston
2025-07-11 17:32:07 -10:00
parent 427560f814
commit 1f35c35e2a

View File

@@ -132,6 +132,9 @@ class ProtoVarInt {
uint64_t value_; uint64_t value_;
}; };
// Forward declaration for decode_to_message and encode_to_writer
class ProtoMessage;
class ProtoLengthDelimited { class ProtoLengthDelimited {
public: public:
explicit ProtoLengthDelimited(const uint8_t *value, size_t length) : value_(value), length_(length) {} explicit ProtoLengthDelimited(const uint8_t *value, size_t length) : value_(value), length_(length) {}
@@ -189,9 +192,6 @@ class Proto64Bit {
const uint64_t value_; const uint64_t value_;
}; };
// Forward declaration needed for method declaration
class ProtoMessage;
class ProtoWriteBuffer { class ProtoWriteBuffer {
public: public:
ProtoWriteBuffer(std::vector<uint8_t> *buffer) : buffer_(buffer) {} ProtoWriteBuffer(std::vector<uint8_t> *buffer) : buffer_(buffer) {}