Cleanup: Add note about adding attributes while iterating

This commit is contained in:
Hans Goudey
2023-04-28 14:19:05 -04:00
parent 0a5f0890cc
commit 696b56c1da

View File

@@ -587,6 +587,7 @@ class AttributeAccessor {
/**
* Run the provided function for every attribute.
* Attributes should not be removed or added during iteration.
*/
bool for_all(const AttributeForeachCallback fn) const
{