Avoid conversion warning

This commit is contained in:
Daniel James
2018-01-24 12:56:14 +00:00
parent 17809c3cbc
commit e01239286c

View File

@@ -48,12 +48,12 @@ void test_variant_int()
struct custom1 { struct custom1 {
int value; 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 { struct custom2 {
int value; 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() void test_variant_unique_types()