Fix compile errors with gcc 10

This commit is contained in:
Vitaliy Filippov
2023-05-20 23:20:09 +03:00
parent b5bd611683
commit 88c1ba0790
4 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -149,10 +149,10 @@ struct blockstore_op_t
uint64_t opcode;
// finish callback
std::function<void (blockstore_op_t*)> callback;
union
union __attribute__((__packed__))
{
// R/W
struct
struct __attribute__((__packed__))
{
object_id oid;
uint64_t version;