diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-23 18:37:53 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-08-05 15:59:36 -0700 |
commit | 9d7fd8b37f97265f37cc12026e535e953942a1ab (patch) | |
tree | 709218889e6977f9aeb1b47e9ce42d0e48b88007 /src/map/magic-expr.cpp | |
parent | 44ba9a9eebec2ffe202fc5594f76864a56f3730a (diff) | |
download | tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.gz tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.bz2 tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.tar.xz tmwa-9d7fd8b37f97265f37cc12026e535e953942a1ab.zip |
Move magic to its own namespace
Diffstat (limited to 'src/map/magic-expr.cpp')
-rw-r--r-- | src/map/magic-expr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/magic-expr.cpp b/src/map/magic-expr.cpp index 2d2eba9..c0551d2 100644 --- a/src/map/magic-expr.cpp +++ b/src/map/magic-expr.cpp @@ -48,6 +48,8 @@ namespace tmwa { +namespace magic +{ template<class T> bool CHECK_TYPE(T *v, TYPE t) { @@ -1772,4 +1774,5 @@ dumb_ptr<expr_t> magic_new_expr(EXPR ty) expr->ty = ty; return expr; } +} // namespace magic } // namespace tmwa |