forked from boostorg/unordered
Clean up tests to properly use boost::unordered::piecewise_construct and ensure it's a humble alias for its std counterpart
This commit is contained in:
@@ -446,7 +446,7 @@ void unordered_map_test(X& r, Key const& k, T const& v)
|
||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
||||
r.emplace(std::piecewise_construct, std::make_tuple(k), std::make_tuple(v));
|
||||
#else
|
||||
r.emplace(std::piecewise_construct, boost::make_tuple(k),
|
||||
r.emplace(boost::unordered::piecewise_construct, boost::make_tuple(k),
|
||||
boost::make_tuple(v));
|
||||
#endif
|
||||
|
||||
@@ -460,7 +460,7 @@ void unordered_map_test(X& r, Key const& k, T const& v)
|
||||
r.emplace_hint(r.begin(), std::piecewise_construct, std::make_tuple(k),
|
||||
std::make_tuple(v));
|
||||
#else
|
||||
r.emplace_hint(r.begin(), std::piecewise_construct,
|
||||
r.emplace_hint(r.begin(), boost::unordered::piecewise_construct,
|
||||
boost::make_tuple(k), boost::make_tuple(v));
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user