mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
Add missing parenthesis in foreach_iter
This allows uses like 'foreach_iter(exec_list_iterator, iter, *list_ptr)'.
This commit is contained in:
parent
8343550b42
commit
605ff69b0d
1 changed files with 1 additions and 1 deletions
2
list.h
2
list.h
|
|
@ -183,7 +183,7 @@ private:
|
|||
};
|
||||
|
||||
#define foreach_iter(iter_type, iter, container) \
|
||||
for (iter_type iter = container . iterator(); iter.has_next(); iter.next())
|
||||
for (iter_type iter = (container) . iterator(); iter.has_next(); iter.next())
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue