mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
Enable readability-qualified-auto check (#3095)
This commit is contained in:
@@ -20,11 +20,11 @@ void MDNSComponent::setup() {
|
||||
// part of the wire protocol to have an underscore, and for example ESP-IDF
|
||||
// expects the underscore to be there, the ESP8266 implementation always adds
|
||||
// the underscore itself.
|
||||
auto proto = service.proto.c_str();
|
||||
auto *proto = service.proto.c_str();
|
||||
while (*proto == '_') {
|
||||
proto++;
|
||||
}
|
||||
auto service_type = service.service_type.c_str();
|
||||
auto *service_type = service.service_type.c_str();
|
||||
while (*service_type == '_') {
|
||||
service_type++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user