mirror of
https://github.com/matrix-construct/construct
synced 2025-01-16 17:46: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.
|
// welcome.
|
||||||
//
|
//
|
||||||
struct ircd::util::va_rtti
|
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>;
|
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)
|
va_rtti(Args&&... args)
|
||||||
:base_type
|
:base_type
|
||||||
{{
|
{{
|
||||||
std::make_pair(std::addressof(args), std::addressof(typeid(Args)))...
|
std::make_tuple(std::addressof(args), std::addressof(typeid(Args)))...
|
||||||
}}
|
}}
|
||||||
,argc
|
,argc
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue