0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-28 17:52:54 +01:00

ircd:Ⓜ️:room: Fix stale comment. [ci skip]

ircd::simd: Fix erroneous comment. [ci skip]
This commit is contained in:
Jason Volk 2020-10-29 00:44:02 -07:00
parent a6b3b3f80b
commit 3b75b06bf1
2 changed files with 5 additions and 5 deletions

View file

@ -141,7 +141,7 @@ struct ircd::m::room
operator const id &() const;
// Convenience passthru to room::messages (linear query; newest first)
// Convenience passthru to room::events (linear query; newest first)
bool for_each(const string_view &type, const event::closure_idx_bool &) const;
void for_each(const string_view &type, const event::closure_idx &) const;
bool for_each(const string_view &type, const event::id::closure_bool &) const;

View file

@ -13,10 +13,10 @@
namespace ircd::simd
{
/// Transform block_t by pseudo-reference. The closure has an opportunity
/// to modify the block while it is being streamed from the source to the
/// destination. The mask indicates which elements of the block are valid
/// if the input is smaller than the block size.
/// Accumulate into block_t by synthetic-reference. The closure has an
/// opportunity to update the accumulator while data blocks are being
/// streamed from the input. The mask indicates which elements of the
/// input block are valid if the input is smaller or offset from the bs.
template<class block_t>
using accumulate_prototype = void (block_t &, block_t, block_t mask);