mirror of
https://github.com/esphome/esphome.git
synced 2026-10-15 10:42:52 +00:00
[text] Drop the inert constructor, keep the initializers
This commit is contained in:
@@ -20,9 +20,6 @@ namespace esphome::text {
|
||||
*/
|
||||
class Text : public EntityBase {
|
||||
public:
|
||||
// User provided, not "= default": `new(p) Text()` would zero-fill .bss that is already zero.
|
||||
Text() {}
|
||||
|
||||
std::string state;
|
||||
TextTraits traits;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user