0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::util: Use tuple rather than pair for va_rtti value_type.

This commit is contained in:
Jason Volk 2018-11-28 13:15:42 -08:00
parent 5cdd2e6376
commit ad5305f151

View file

@ -32,7 +32,7 @@ namespace ircd::util
// welcome.
//
struct ircd::util::va_rtti
:std::array<std::pair<const void *, const std::type_info *>, ircd::util::VA_RTTI_MAX_SIZE>
:std::array<std::tuple<const void *, const std::type_info *>, ircd::util::VA_RTTI_MAX_SIZE>
{
using base_type = std::array<value_type, ircd::util::VA_RTTI_MAX_SIZE>;
@ -51,7 +51,7 @@ struct ircd::util::va_rtti
va_rtti(Args&&... args)
:base_type
{{
std::make_pair(std::addressof(args), std::addressof(typeid(Args)))...
std::make_tuple(std::addressof(args), std::addressof(typeid(Args)))...
}}
,argc
{