mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:user: Tentative fixes for clang rejection of std::string_view::size() constexprness.
This commit is contained in:
parent
5bf62fc33f
commit
805f2c1184
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ struct ircd::m::user::room_account_data
|
|||
|
||||
static constexpr const size_t &typebuf_size
|
||||
{
|
||||
m::room::id::MAX_SIZE + size(type_prefix)
|
||||
m::room::id::MAX_SIZE + 24
|
||||
};
|
||||
|
||||
m::user user;
|
||||
|
|
|
@ -23,7 +23,7 @@ struct ircd::m::user::room_tags
|
|||
|
||||
static constexpr const size_t &typebuf_size
|
||||
{
|
||||
m::room::id::MAX_SIZE + size(type_prefix)
|
||||
m::room::id::MAX_SIZE + 16
|
||||
};
|
||||
|
||||
m::user user;
|
||||
|
|
Loading…
Reference in a new issue