mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Fix for clang.
This commit is contained in:
@ -42,15 +42,14 @@ namespace test
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct equivalent_type {
|
struct equivalent_type {
|
||||||
|
equivalent_type() {}
|
||||||
|
|
||||||
template <class T1, class T2>
|
template <class T1, class T2>
|
||||||
bool operator()(T1 const& x, T2 const& y) const {
|
bool operator()(T1 const& x, T2 const& y) const {
|
||||||
return equivalent_impl(x, y, derived);
|
return equivalent_impl(x, y, derived);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// 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
|
|
||||||
// framework).
|
|
||||||
const equivalent_type equivalent;
|
const equivalent_type equivalent;
|
||||||
|
|
||||||
template <class Container>
|
template <class Container>
|
||||||
|
Reference in New Issue
Block a user