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/feature_meta.hpp | |
parent | 9e2c0b978e26d5b668fa36c3a01fac79913932db (diff) |
Replaced boost’s STATIC_ASSERT with a C++11 one.
Diffstat (limited to 'indexer/feature_meta.hpp')
-rw-r--r-- | indexer/feature_meta.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indexer/feature_meta.hpp b/indexer/feature_meta.hpp index 7761e6e383..2ac7ef1a79 100644 --- a/indexer/feature_meta.hpp +++ b/indexer/feature_meta.hpp @@ -6,7 +6,6 @@ #include "std/algorithm.hpp" #include "std/limits.hpp" #include "std/map.hpp" -#include "std/static_assert.hpp" #include "std/string.hpp" #include "std/vector.hpp" @@ -38,7 +37,7 @@ namespace feature FMD_COUNT }; - STATIC_ASSERT(FMD_COUNT <= 255); + static_assert(FMD_COUNT <= 255, "Meta types count is limited to one byte."); bool Add(EType type, string const & s) { |