Skip to content

Commit

Permalink
Fix: building on Raspberry Pi failed because of const vs constexpr (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain committed Apr 1, 2021
1 parent 5010870 commit 4d50165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pool_type.hpp
Expand Up @@ -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

Expand Down

0 comments on commit 4d50165

Please sign in to comment.