Fix compilation with Clang.
warning: extraneous template parameter list in template specialization template<> Change-Id: If3e3e1d06a018343b40ac0984dfd9ecc12629f8d
This commit is contained in:
parent
b37021a362
commit
97470659e9
@ -233,19 +233,15 @@ struct key_value_pair_t {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
|
||||||
template <typename K, typename V>
|
template <typename K, typename V>
|
||||||
struct trait_trivial_ctor< key_value_pair_t<K, V> >
|
struct trait_trivial_ctor< key_value_pair_t<K, V> >
|
||||||
{ enum { value = aggregate_traits<K,V>::has_trivial_ctor }; };
|
{ enum { value = aggregate_traits<K,V>::has_trivial_ctor }; };
|
||||||
template<>
|
|
||||||
template <typename K, typename V>
|
template <typename K, typename V>
|
||||||
struct trait_trivial_dtor< key_value_pair_t<K, V> >
|
struct trait_trivial_dtor< key_value_pair_t<K, V> >
|
||||||
{ enum { value = aggregate_traits<K,V>::has_trivial_dtor }; };
|
{ enum { value = aggregate_traits<K,V>::has_trivial_dtor }; };
|
||||||
template<>
|
|
||||||
template <typename K, typename V>
|
template <typename K, typename V>
|
||||||
struct trait_trivial_copy< key_value_pair_t<K, V> >
|
struct trait_trivial_copy< key_value_pair_t<K, V> >
|
||||||
{ enum { value = aggregate_traits<K,V>::has_trivial_copy }; };
|
{ enum { value = aggregate_traits<K,V>::has_trivial_copy }; };
|
||||||
template<>
|
|
||||||
template <typename K, typename V>
|
template <typename K, typename V>
|
||||||
struct trait_trivial_move< key_value_pair_t<K, V> >
|
struct trait_trivial_move< key_value_pair_t<K, V> >
|
||||||
{ enum { value = aggregate_traits<K,V>::has_trivial_move }; };
|
{ enum { value = aggregate_traits<K,V>::has_trivial_move }; };
|
||||||
|
Loading…
Reference in New Issue
Block a user