remove FOREACH_Code

This commit is contained in:
Glenn Maynard
2007-03-15 20:39:58 +00:00
parent 223f4b57c2
commit ca8f64a18f
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ void CodeDetector::RefreshCacheItems( RString sClass )
{ {
if( sClass == "" ) if( sClass == "" )
sClass = "CodeDetector"; sClass = "CodeDetector";
FOREACH_Code( c ) FOREACH_ENUM( Code, c )
{ {
CodeItem& item = g_CodeItems[c]; CodeItem& item = g_CodeItems[c];
const RString sCodeName = CodeToString(c); const RString sCodeName = CodeToString(c);
-1
View File
@@ -47,7 +47,6 @@ enum Code {
CODE_BACK_IN_EVENT_MODE, CODE_BACK_IN_EVENT_MODE,
NUM_Code // leave this at the end NUM_Code // leave this at the end
}; };
#define FOREACH_Code( c ) FOREACH_ENUM( Code, c )
struct CodeItem struct CodeItem
{ {