From b84f212112786ca8b77e2a6c15c28aba598c47f6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 3 Sep 2011 13:54:11 -0400 Subject: [PATCH] Code Cleanup - Removed obsolete 'foreach' macro. --- src/util.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/util.h b/src/util.h index b679c87b1..4c537591d 100644 --- a/src/util.h +++ b/src/util.h @@ -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&);