1
0
Fork 0

Fix: building on Raspberry Pi failed because of const vs constexpr (#8924)

pull/9160/head
Patric Stout 2021-04-01 19:39:55 +02:00 committed by Charles Pigott
parent 1d039c86cb
commit fb23ee6add
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ struct Pool : PoolBase {
/* Ensure Tmax_size is within the bounds of Tindex. */
static_assert((uint64)(Tmax_size - 1) >> 8 * sizeof(Tindex) == 0);
static const size_t MAX_SIZE = Tmax_size; ///< Make template parameter accessible from outside
static constexpr size_t MAX_SIZE = Tmax_size; ///< Make template parameter accessible from outside
const char * const name; ///< Name of this pool