mirror of https://gitee.com/bigwinds/arangodb
Fixed two compile errors.
This commit is contained in:
parent
290f6c182d
commit
84f284543c
|
@ -109,7 +109,7 @@ struct CachedValue {
|
||||||
};
|
};
|
||||||
|
|
||||||
// ensure that header size is what we expect
|
// ensure that header size is what we expect
|
||||||
static_assert(sizeof(CachedValue) == 16);
|
static_assert(sizeof(CachedValue) == 16, "Expected sizeof(CachedValue) == 16.");
|
||||||
|
|
||||||
}; // end namespace cache
|
}; // end namespace cache
|
||||||
}; // end namespace arangodb
|
}; // end namespace arangodb
|
||||||
|
|
|
@ -117,7 +117,8 @@ struct State {
|
||||||
};
|
};
|
||||||
|
|
||||||
// ensure that state is exactly the size of uint32_t
|
// ensure that state is exactly the size of uint32_t
|
||||||
static_assert(sizeof(State) == sizeof(uint32_t));
|
static_assert(sizeof(State) == sizeof(uint32_t),
|
||||||
|
"Expected sizeof(State) == sizeof(uint32_t).");
|
||||||
|
|
||||||
}; // end namespace cache
|
}; // end namespace cache
|
||||||
}; // end namespace arangodb
|
}; // end namespace arangodb
|
||||||
|
|
Loading…
Reference in New Issue