Merge "Switch from count to N for template due to ambiguity with std::count"

This commit is contained in:
Treehugger Robot 2020-07-24 18:27:53 +00:00 committed by Gerrit Code Review
commit 3db19cfa0b

View file

@ -62,9 +62,9 @@ template <typename T, size_t count> class Devices : public std::array<T, count>
} // namespace keystore
namespace std {
template <typename T, size_t count> struct tuple_size<keystore::Devices<T, count>> {
template <typename T, size_t N> struct tuple_size<keystore::Devices<T, N>> {
public:
static constexpr size_t value = std::tuple_size<std::array<T, count>>::value;
static constexpr size_t value = std::tuple_size<std::array<T, N>>::value;
};
} // namespace std