0
0
Fork 0
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:
Jason Volk 2020-02-01 12:32:14 -08:00
parent 0c43394446
commit 9e187f7406

View file

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