mirror of https://gitee.com/bigwinds/arangodb
assert a certain size
This commit is contained in:
parent
803a3c84ce
commit
b06cf9ea3b
|
@ -137,6 +137,8 @@ struct TRI_vpack_sub_t {
|
|||
VPackSlice slice(TRI_doc_mptr_t const* mptr) const;
|
||||
};
|
||||
|
||||
static_assert(sizeof(TRI_vpack_sub_t) == 12, "invalid size of TRI_vpack_sub_t");
|
||||
|
||||
/// @brief fill a TRI_vpack_sub_t structure with a subvalue
|
||||
void TRI_FillVPackSub(TRI_vpack_sub_t* sub,
|
||||
VPackSlice const base, VPackSlice const value) noexcept;
|
||||
|
|
Loading…
Reference in New Issue