From 4d501655adfa0b9e44bd365ba396580461d40a48 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Thu, 1 Apr 2021 19:39:55 +0200 Subject: Fix: building on Raspberry Pi failed because of const vs constexpr (#8924) --- src/core/pool_type.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/pool_type.hpp') diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp index e847dfbb7..33f952dde 100644 --- a/src/core/pool_type.hpp +++ b/src/core/pool_type.hpp @@ -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 -- cgit v1.2.3-54-g00ecf