diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-18 20:19:14 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-18 20:19:14 +0800 |
commit | 99da72da61653582d8e98075a7b3a03c36fc1976 (patch) | |
tree | c88032e1ef0eeed1a0b17727b6eab1d7cd8bf4cb /src/common.hpp | |
parent | 26a027caaf751cde502b6044ad91b208bbfdc8ca (diff) | |
download | mrust-99da72da61653582d8e98075a7b3a03c36fc1976.tar.gz |
Remove evil FOREACH macros
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common.hpp b/src/common.hpp index 3247ee7a..a6f0717c 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -3,9 +3,6 @@ #ifndef COMMON_HPP_INCLUDED #define COMMON_HPP_INCLUDED -#define FOREACH(basetype, it, src) for(basetype::const_iterator it = src.begin(); it != src.end(); ++ it) -#define FOREACH_M(basetype, it, src) for(basetype::iterator it = src.begin(); it != src.end(); ++ it) - #include <iostream> #include <vector> #include <cassert> |