Code Cleanup

- Removed obsolete 'foreach' macro.
This commit is contained in:
Paul Beckingham 2011-09-03 13:54:11 -04:00
parent f245fa808c
commit b84f212112

View file

@ -47,15 +47,6 @@
#define max(a,b) ((a) > (b) ? (a) : (b))
#endif
// TODO Obsolete.
#define foreach(i, c) \
for (typeof (c) *foreach_p = & (c); \
foreach_p; \
foreach_p = 0) \
for (typeof (foreach_p->begin()) i = foreach_p->begin(); \
i != foreach_p->end(); \
++i)
// util.cpp
bool confirm (const std::string&);
int confirm3 (const std::string&);