0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd:Ⓜ️:room::auth: Remove noexcept on interface for IO termination propagation.

This commit is contained in:
Jason Volk 2019-08-20 22:19:24 -07:00
parent 5e87a2e941
commit 063bd39b09
2 changed files with 12 additions and 12 deletions

View file

@ -49,11 +49,11 @@ struct ircd::m::room::auth::refs
bool for_each(const string_view &type, const closure_bool &) const;
bool for_each(const closure_bool &) const;
bool has(const string_view &type) const noexcept;
bool has(const event::idx &) const noexcept;
bool has(const string_view &type) const;
bool has(const event::idx &) const;
size_t count(const string_view &type) const noexcept;
size_t count() const noexcept;
size_t count(const string_view &type) const;
size_t count() const;
refs(const event::idx &idx)
:idx{idx}
@ -68,8 +68,8 @@ struct ircd::m::room::auth::chain
public:
bool for_each(const closure &) const;
bool has(const string_view &type) const noexcept;
size_t depth() const noexcept;
bool has(const string_view &type) const;
size_t depth() const;
chain(const event::idx &idx)
:idx{idx}

View file

@ -581,7 +581,7 @@ const
size_t
IRCD_MODULE_EXPORT
ircd::m::room::auth::refs::count()
const noexcept
const
{
return count(string_view{});
}
@ -589,7 +589,7 @@ const noexcept
size_t
IRCD_MODULE_EXPORT
ircd::m::room::auth::refs::count(const string_view &type)
const noexcept
const
{
size_t ret(0);
for_each(type, [&ret](const auto &)
@ -604,7 +604,7 @@ const noexcept
bool
IRCD_MODULE_EXPORT
ircd::m::room::auth::refs::has(const event::idx &idx)
const noexcept
const
{
return !for_each([&idx](const event::idx &ref)
{
@ -615,7 +615,7 @@ const noexcept
bool
IRCD_MODULE_EXPORT
ircd::m::room::auth::refs::has(const string_view &type)
const noexcept
const
{
bool ret{false};
for_each(type, [&ret](const auto &)
@ -683,7 +683,7 @@ const
size_t
IRCD_MODULE_EXPORT
ircd::m::room::auth::chain::depth()
const noexcept
const
{
size_t ret(0);
for_each([&ret](const auto &)
@ -698,7 +698,7 @@ const noexcept
bool
IRCD_MODULE_EXPORT
ircd::m::room::auth::chain::has(const string_view &type)
const noexcept
const
{
bool ret(false);
for_each([&type, &ret]