diff options
Diffstat (limited to 'store/source/stordata.hxx')
-rw-r--r-- | store/source/stordata.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx index d558f6c69b76..ae9e916c4bd8 100644 --- a/store/source/stordata.hxx +++ b/store/source/stordata.hxx @@ -22,7 +22,6 @@ #include "sal/config.h" -#include "boost/static_assert.hpp" #include "sal/types.h" #include "sal/macros.h" @@ -58,7 +57,7 @@ struct OStoreDataPageData : public store::OStorePageData */ static const size_t theSize = 0; static const sal_uInt16 thePageSize = base::theSize + self::theSize; - BOOST_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= self::thePageSize); + static_assert(STORE_MINIMUM_PAGESIZE >= self::thePageSize, "got to be at least equal in size"); /** capacity. */ @@ -148,7 +147,7 @@ struct OStoreIndirectionPageData : public store::OStorePageData */ static const size_t theSize = sizeof(G); static const sal_uInt16 thePageSize = base::theSize + self::theSize; - BOOST_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= self::thePageSize); + static_assert(STORE_MINIMUM_PAGESIZE >= self::thePageSize, "got to be at least equal in size"); /** capacity. */ @@ -573,7 +572,7 @@ struct OStoreDirectoryPageData : public store::OStorePageData */ static const size_t theSize = NameBlock::theSize + DataBlock::theSize; static const sal_uInt16 thePageSize = base::theSize + self::theSize; - BOOST_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= self::thePageSize); + static_assert(STORE_MINIMUM_PAGESIZE >= self::thePageSize, "got to be at least equal in size"); /** capacity. */ |