mirror of
https://github.com/boostorg/container_hash.git
synced 2025-08-16 21:11:02 +02:00
Avoid conversion warning
This commit is contained in:
@@ -48,12 +48,12 @@ void test_variant_int()
|
||||
|
||||
struct custom1 {
|
||||
int value;
|
||||
friend std::size_t hash_value(custom1 v) { return v.value; }
|
||||
friend std::size_t hash_value(custom1 v) { return boost::hash_value(v.value); }
|
||||
};
|
||||
|
||||
struct custom2 {
|
||||
int value;
|
||||
friend std::size_t hash_value(custom2 v) { return v.value; }
|
||||
friend std::size_t hash_value(custom2 v) { return boost::hash_value(v.value); }
|
||||
};
|
||||
|
||||
void test_variant_unique_types()
|
||||
|
Reference in New Issue
Block a user