Skip to content

Commit

Permalink
remove ENUMERATE macro for #257
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Oct 19, 2023
1 parent b85ba23 commit e006256
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/shared/hashtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,5 @@ struct hashtable : hashbase<hashtable<K, T>, hashtableentry<K, T>, K, T>
b; \
} \
}
#define ENUMERATE(ht,t,e,b) \
for(int i = 0; i < static_cast<int>((ht).size); ++i) \
{ \
for(void *ec = (ht).chains[i]; ec;) \
{ \
t &e = (ht).enumdata(ec); \
ec = (ht).enumnext(ec); \
b; \
} \
}

#endif

0 comments on commit e006256

Please sign in to comment.