fix name conflict

This commit is contained in:
Tomasz Duda 2024-10-01 13:29:06 +02:00
parent e692ef359d
commit eba100498e
3 changed files with 3 additions and 8 deletions

View file

@ -7,11 +7,9 @@
namespace esphome {
namespace api {
using namespace component_iterator;
class APIConnection;
class ListEntitiesIterator : public ComponentIterator {
class ListEntitiesIterator : public component_iterator::ComponentIterator {
public:
ListEntitiesIterator(APIConnection *client);
#ifdef USE_BINARY_SENSOR

View file

@ -8,11 +8,9 @@
namespace esphome {
namespace api {
using namespace component_iterator;
class APIConnection;
class InitialStateIterator : public ComponentIterator {
class InitialStateIterator : public component_iterator::ComponentIterator {
public:
InitialStateIterator(APIConnection *client);
#ifdef USE_BINARY_SENSOR

View file

@ -7,10 +7,9 @@
namespace esphome {
namespace web_server {
using namespace component_iterator;
class WebServer;
class ListEntitiesIterator : public ComponentIterator {
class ListEntitiesIterator : public component_iterator::ComponentIterator {
public:
ListEntitiesIterator(WebServer *web_server);
#ifdef USE_BINARY_SENSOR