mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
[api] Undefine PROTO_OUTLINE_FOR_SIZE after the encode helpers
The macro only exists for the two fixed32 writers in ProtoEncode, so drop it once the class is complete instead of leaking it into every translation unit that includes proto.h.
This commit is contained in:
@@ -597,6 +597,7 @@ class ProtoEncode {
|
||||
return buffer.get_pos();
|
||||
}
|
||||
};
|
||||
#undef PROTO_OUTLINE_FOR_SIZE
|
||||
|
||||
#ifdef HAS_PROTO_MESSAGE_DUMP
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user