mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
Update esphome/core/component_iterator.cpp
Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
This commit is contained in:
parent
45693ac5fc
commit
42af4ebb34
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ template<typename Entity>
|
|||
void ComponentIterator::process_entity_(const std::vector<Entity *> &items,
|
||||
bool (ComponentIterator::*on_item)(Entity *)) {
|
||||
if (this->at_ >= items.size()) {
|
||||
advance_platform_();
|
||||
this->advance_platform_();
|
||||
} else {
|
||||
Entity *entity = items[this->at_];
|
||||
if (entity->is_internal() && !this->include_internal_) {
|
||||
|
|
Loading…
Reference in a new issue