mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Test cleanup
This commit is contained in:
@ -17,5 +17,6 @@
|
|||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#endif
|
#endif
|
||||||
#include "postfix.hpp"
|
#include "postfix.hpp"
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -518,13 +518,11 @@ template <class X> void equality_test(X& r)
|
|||||||
|
|
||||||
template <class X, class T> void unordered_unique_test(X& r, T const& t)
|
template <class X, class T> void unordered_unique_test(X& r, T const& t)
|
||||||
{
|
{
|
||||||
(void) r;
|
|
||||||
(void) t;
|
|
||||||
#ifndef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
typedef typename X::iterator iterator;
|
typedef typename X::iterator iterator;
|
||||||
test::check_return_type<std::pair<iterator, bool> >::equals(r.insert(t));
|
test::check_return_type<std::pair<iterator, bool> >::equals(r.insert(t));
|
||||||
test::check_return_type<std::pair<iterator, bool> >::equals(r.emplace(t));
|
test::check_return_type<std::pair<iterator, bool> >::equals(r.emplace(t));
|
||||||
|
|
||||||
|
#ifndef BOOST_UNORDERED_FOA_TESTS
|
||||||
typedef typename X::node_type node_type;
|
typedef typename X::node_type node_type;
|
||||||
typedef typename X::insert_return_type insert_return_type;
|
typedef typename X::insert_return_type insert_return_type;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user