mirror of
https://github.com/esphome/esphome.git
synced 2026-03-24 06:53:07 +08:00
The virtual destructor was unnecessary since APIConnection is only stored as unique_ptr<APIConnection>, never via a base class pointer. Removing it eliminates the vtable entirely. Rename read_message to read_message_ per clang-tidy naming convention for protected methods.