diff options
| author | Stefan Boberg <[email protected]> | 2023-05-15 21:23:18 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-05-15 21:23:18 +0200 |
| commit | c93609482c3753e9f8182ded653ed18c5e64c297 (patch) | |
| tree | 3d0766408a87ebb173bf3313fc76c2f0ce721949 /src | |
| parent | corrected CidStore comment (diff) | |
| download | zen-c93609482c3753e9f8182ded653ed18c5e64c297.tar.xz zen-c93609482c3753e9f8182ded653ed18c5e64c297.zip | |
added static_assert for BlockStoreDiskLocation
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenstore/include/zenstore/blockstore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenstore/include/zenstore/blockstore.h b/src/zenstore/include/zenstore/blockstore.h index 738510cac..a8bd44b9b 100644 --- a/src/zenstore/include/zenstore/blockstore.h +++ b/src/zenstore/include/zenstore/blockstore.h @@ -82,6 +82,8 @@ private: uint8_t m_Offset[6]; }; +static_assert(sizeof(BlockStoreDiskLocation) == 10); + #pragma pack(pop) struct BlockStoreFile : public RefCounted |