0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-14 05:20:17 +01:00

ircd: Belay narrowing conversions.

This commit is contained in:
Jason Volk 2019-06-22 17:03:19 -06:00
parent a38408831b
commit 3ccb7c1faa
3 changed files with 5 additions and 5 deletions

View file

@ -1742,7 +1742,7 @@ void
ircd::ctx::prof::check_slice()
{
auto &c(cur());
const bool slice_exempt
const auto &slice_exempt
{
c.flags & context::SLICE_EXEMPT
};
@ -1792,7 +1792,7 @@ void
ircd::ctx::prof::check_stack()
{
auto &c(cur());
const bool stack_exempt
const auto &stack_exempt
{
c.flags & context::STACK_EXEMPT
};

View file

@ -462,7 +462,7 @@ ircd::fs::aio::request::operator()()
return size_t(retval);
assert(opts);
const bool blocking
const auto blocking
{
#if defined(RWF_NOWAIT)
~aio_rw_flags & RWF_NOWAIT

View file

@ -685,7 +685,7 @@ const
request.access_token = authorization.second;
}
const bool requires_auth
const auto requires_auth
{
opts->flags & REQUIRES_AUTH
};
@ -748,7 +748,7 @@ ircd::resource::method::verify_origin(client &client,
request &request)
const try
{
const bool required
const auto required
{
opts->flags & VERIFY_ORIGIN
};