Skip to content

Commit

Permalink
fix name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Duda committed Oct 1, 2024
1 parent 8e5a1d9 commit 9e0d72a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions esphome/components/api/list_entities.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions esphome/components/api/subscribe_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions esphome/components/web_server/list_entities.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e0d72a

Please sign in to comment.