Use the preprocessor to increment emplace limit

So that there's no need to add one.
This commit is contained in:
Daniel James
2017-04-23 09:44:56 +01:00
parent cfe4c26f99
commit 42b6b13943
3 changed files with 12 additions and 12 deletions

View File

@@ -339,7 +339,7 @@ template <class K, class T, class H, class P, class A> class unordered_map
}
BOOST_PP_REPEAT_FROM_TO(
4, BOOST_UNORDERED_EMPLACE_LIMIT, BOOST_UNORDERED_EMPLACE, _)
4, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT), BOOST_UNORDERED_EMPLACE, _)
#undef BOOST_UNORDERED_EMPLACE
@@ -626,7 +626,7 @@ template <class K, class T, class H, class P, class A> class unordered_map
}
BOOST_PP_REPEAT_FROM_TO(
4, BOOST_UNORDERED_EMPLACE_LIMIT, BOOST_UNORDERED_TRY_EMPLACE, _)
4, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT), BOOST_UNORDERED_TRY_EMPLACE, _)
#undef BOOST_UNORDERED_TRY_EMPLACE
@@ -1086,7 +1086,7 @@ template <class K, class T, class H, class P, class A> class unordered_multimap
}
BOOST_PP_REPEAT_FROM_TO(
4, BOOST_UNORDERED_EMPLACE_LIMIT, BOOST_UNORDERED_EMPLACE, _)
4, BOOST_PP_INC(BOOST_UNORDERED_EMPLACE_LIMIT), BOOST_UNORDERED_EMPLACE, _)
#undef BOOST_UNORDERED_EMPLACE