Reduce component_iterator memory usage (#9205)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-06-27 01:56:54 -05:00
1 parent 13512440ac
commit 837dd46adf
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -375,7 +375,7 @@ void ComponentIterator::advance() {
}
if (advance_platform) {
this->state_ = static_cast<IteratorState>(static_cast<uint32_t>(this->state_) + 1);
this->state_ = static_cast<IteratorState>(static_cast<uint8_t>(this->state_) + 1);
this->at_ = 0;
} else if (success) {
this->at_++;