mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-01-01 03:12:23 +08:00
Clean up leaking #define's for iterations (n, m) that could mess up subsequently included files such as boost/signals2.hpp
This commit is contained in:
parent
fb5ba0be26
commit
968da650b2
@ -58,8 +58,9 @@ namespace chaiscript
|
||||
{
|
||||
return boost::bind(f, o BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, param, _));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
#undef n
|
||||
#undef m
|
||||
|
||||
#endif
|
||||
|
||||
@ -93,6 +93,7 @@ namespace chaiscript
|
||||
|
||||
}
|
||||
}
|
||||
#undef n
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@ -61,6 +61,7 @@ namespace chaiscript
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef n
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@ -130,4 +130,6 @@ namespace chaiscript
|
||||
|
||||
}
|
||||
|
||||
#undef n
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user