aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 21:23:18 +0200
committerStefan Boberg <[email protected]>2023-05-15 21:23:18 +0200
commitc93609482c3753e9f8182ded653ed18c5e64c297 (patch)
tree3d0766408a87ebb173bf3313fc76c2f0ce721949 /src
parentcorrected CidStore comment (diff)
downloadzen-c93609482c3753e9f8182ded653ed18c5e64c297.tar.xz
zen-c93609482c3753e9f8182ded653ed18c5e64c297.zip
added static_assert for BlockStoreDiskLocation
Diffstat (limited to 'src')
-rw-r--r--src/zenstore/include/zenstore/blockstore.h2
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