diff options
author | Alex Zolotarev <alex@maps.me> | 2015-06-24 13:39:30 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:30 +0300 |
commit | f2aa6313315d27176ca3163f19c8fbe3e7919f5c (patch) | |
tree | e8a7354c08a86a6daeb99be6bcc604ba94720598 /indexer/scale_index_builder.hpp | |
parent | 9e2c0b978e26d5b668fa36c3a01fac79913932db (diff) |
Replaced boost’s STATIC_ASSERT with a C++11 one.
Diffstat (limited to 'indexer/scale_index_builder.hpp')
-rw-r--r-- | indexer/scale_index_builder.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indexer/scale_index_builder.hpp b/indexer/scale_index_builder.hpp index 70474dcb35..345d2edcc7 100644 --- a/indexer/scale_index_builder.hpp +++ b/indexer/scale_index_builder.hpp @@ -49,9 +49,9 @@ private: uint32_t m_CellHi; uint32_t m_Feature; }; -STATIC_ASSERT(sizeof(CellFeaturePair) == 12); +static_assert(sizeof(CellFeaturePair) == 12, ""); #ifndef OMIM_OS_LINUX -STATIC_ASSERT(is_trivially_copyable<CellFeaturePair>::value); +static_assert(is_trivially_copyable<CellFeaturePair>::value, ""); #endif class CellFeatureBucketTuple @@ -76,9 +76,9 @@ private: CellFeaturePair m_pair; uint32_t m_bucket; }; -STATIC_ASSERT(sizeof(CellFeatureBucketTuple) == 16); +static_assert(sizeof(CellFeatureBucketTuple) == 16, ""); #ifndef OMIM_OS_LINUX -STATIC_ASSERT(is_trivially_copyable<CellFeatureBucketTuple>::value); +static_assert(is_trivially_copyable<CellFeatureBucketTuple>::value, ""); #endif template <class TSorter> |