mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::db::prefetcher: Fix alignment attribution for clang.
This commit is contained in:
parent
0c43394446
commit
9e187f7406
1 changed files with 3 additions and 1 deletions
|
@ -48,13 +48,15 @@ struct ircd::db::prefetcher
|
|||
|
||||
struct ircd::db::prefetcher::request
|
||||
{
|
||||
using key_buf = char[208];
|
||||
|
||||
database *d {nullptr}; // database instance
|
||||
uint32_t cid {0}; // column ID
|
||||
uint32_t len {0}; // length of key
|
||||
steady_point snd; // submitted by user
|
||||
steady_point req; // request sent to database
|
||||
steady_point fin; // result from database
|
||||
char key[208] alignas(16); // key buffer
|
||||
key_buf key alignas(16); // key buffer
|
||||
|
||||
explicit operator string_view() const noexcept;
|
||||
|
||||
|
|
Loading…
Reference in a new issue