forked from boostorg/unordered
Try to fix another warning
This commit is contained in:
@ -43,19 +43,15 @@ namespace test
|
|||||||
|
|
||||||
struct equivalent_type {
|
struct equivalent_type {
|
||||||
template <class T1, class T2>
|
template <class T1, class T2>
|
||||||
bool operator()(T1 const& x, T2 const& y) {
|
bool operator()(T1 const& x, T2 const& y) const {
|
||||||
return equivalent_impl(x, y, derived);
|
return equivalent_impl(x, y, derived);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// This won't be a problem as I'm only using a single compile unit
|
// This should't be a problem as I'm only using a single compile unit
|
||||||
// in each test (this is actually require by the minimal test
|
// in each test (this is actually require by the minimal test
|
||||||
// framework).
|
// framework).
|
||||||
//
|
const equivalent_type equivalent;
|
||||||
// boostinspect:nounnamed
|
|
||||||
namespace {
|
|
||||||
equivalent_type equivalent;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class Container>
|
template <class Container>
|
||||||
class unordered_equivalence_tester
|
class unordered_equivalence_tester
|
||||||
|
Reference in New Issue
Block a user