0
0
Fork 0
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:
Jason Volk 2019-06-23 00:44:54 -06:00
parent 5bf62fc33f
commit 805f2c1184
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;