mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 23:21:54 +00:00 
			
		
		
		
	[api] Mark APIConnection as final for compiler optimizations
This commit is contained in:
		| @@ -44,7 +44,7 @@ static constexpr size_t MAX_PACKETS_PER_BATCH = 64;  // ESP32 has 8KB+ stack, HO | |||||||
| static constexpr size_t MAX_PACKETS_PER_BATCH = 32;  // ESP8266/RP2040/etc have smaller stacks | static constexpr size_t MAX_PACKETS_PER_BATCH = 32;  // ESP8266/RP2040/etc have smaller stacks | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| class APIConnection : public APIServerConnection { | class APIConnection final : public APIServerConnection { | ||||||
|  public: |  public: | ||||||
|   friend class APIServer; |   friend class APIServer; | ||||||
|   friend class ListEntitiesIterator; |   friend class ListEntitiesIterator; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user