mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 23:35:47 +00:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
namespace esphome {
|
||||
namespace mqtt {
|
||||
|
||||
static const char *TAG = "mqtt.component";
|
||||
static const char *const TAG = "mqtt.component";
|
||||
|
||||
void MQTTComponent::set_retain(bool retain) { this->retain_ = retain; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user