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:
parent
5cdd2e6376
commit
ad5305f151
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue