mirror of
https://github.com/esphome/esphome.git
synced 2025-08-03 08:57:47 +00:00
preen
This commit is contained in:
parent
eb7f982b5b
commit
bde3d025dc
@ -19,10 +19,6 @@ std::string ProtoMessage::dump() const {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ============================================================================
|
|
||||||
// Unified Field Operations - Single Implementation for Both Regular and Repeated
|
|
||||||
// ============================================================================
|
|
||||||
|
|
||||||
// Helper to get vector size for any repeated field type
|
// Helper to get vector size for any repeated field type
|
||||||
static inline size_t get_vector_size(ProtoFieldType type, const void *field_addr) {
|
static inline size_t get_vector_size(ProtoFieldType type, const void *field_addr) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user