mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-06 09:49:56 +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, _));
|
return boost::bind(f, o BOOST_PP_COMMA_IF(n) BOOST_PP_ENUM(n, param, _));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef n
|
||||||
|
#undef m
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -93,6 +93,7 @@ namespace chaiscript
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#undef n
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -61,6 +61,7 @@ namespace chaiscript
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#undef n
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -130,4 +130,6 @@ namespace chaiscript
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#undef n
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user