summaryrefslogtreecommitdiff
path: root/store/source/storbios.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-09 12:49:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-09 12:49:26 +0100
commite4b99f5d445903e1309c301cc327d2dfb23d8d71 (patch)
tree3cfd07e82e8dc9200747baf4a271324f3653c1ce /store/source/storbios.cxx
parentde69091d34d8102c0b56194d603ed9e66699d34c (diff)
Use BOOST_STATIC_ASSERT
Change-Id: Ib9dc2541c3bf72ddd6094331297a91352138e5af
Diffstat (limited to 'store/source/storbios.cxx')
-rw-r--r--store/source/storbios.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx
index 2cdbecee9b33..b773c5d20397 100644
--- a/store/source/storbios.cxx
+++ b/store/source/storbios.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include "sal/config.h"
+
+#include "boost/static_assert.hpp"
#include "storbios.hxx"
@@ -182,7 +185,7 @@ struct SuperBlockPage
*/
static const size_t theSize = 2 * SuperBlock::theSize;
static const sal_uInt16 thePageSize = theSize;
- STORE_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= thePageSize);
+ BOOST_STATIC_ASSERT(STORE_MINIMUM_PAGESIZE >= thePageSize);
/** Allocation.
*/