mirror of
https://github.com/esphome/esphome.git
synced 2025-09-11 15:52:20 +01:00
oops, removed wrong one
This commit is contained in:
@@ -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) {}
|
||||||
|
Reference in New Issue
Block a user