Use BOOST_STATIC_CONSTEXPR where applicable

This commit is contained in:
Ion Gaztañaga
2024-06-06 00:08:00 +02:00
parent 8217bc03bb
commit 0977e6b1d4
46 changed files with 233 additions and 230 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ class node_allocator
typedef unsigned int allocation_type;
typedef node_allocator<T, NodesPerBlock, Version> self_t;
static const std::size_t nodes_per_block = NodesPerBlock;
BOOST_STATIC_CONSTEXPR std::size_t nodes_per_block = NodesPerBlock;
BOOST_CONTAINER_STATIC_ASSERT((Version <=2));
#endif