From 84f284543c4559ee6d8c2b6fad38b2a96ded3b2b Mon Sep 17 00:00:00 2001 From: Dan Larkin Date: Fri, 24 Feb 2017 17:12:32 -0500 Subject: [PATCH] Fixed two compile errors. --- arangod/Cache/CachedValue.h | 2 +- arangod/Cache/State.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arangod/Cache/CachedValue.h b/arangod/Cache/CachedValue.h index 5ac9bf1a3f..b830728d11 100644 --- a/arangod/Cache/CachedValue.h +++ b/arangod/Cache/CachedValue.h @@ -109,7 +109,7 @@ struct CachedValue { }; // 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 arangodb diff --git a/arangod/Cache/State.h b/arangod/Cache/State.h index 19f06d56fd..d0009ee923 100644 --- a/arangod/Cache/State.h +++ b/arangod/Cache/State.h @@ -117,7 +117,8 @@ struct State { }; // 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 arangodb