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 esphome {
namespace api { namespace api {
using namespace component_iterator;
class APIConnection; class APIConnection;
class ListEntitiesIterator : public ComponentIterator { class ListEntitiesIterator : public component_iterator::ComponentIterator {
public: public:
ListEntitiesIterator(APIConnection *client); ListEntitiesIterator(APIConnection *client);
#ifdef USE_BINARY_SENSOR #ifdef USE_BINARY_SENSOR

View file

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

View file

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