From 0b575dc98304af2b8e8f565783f0f85898df3b52 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 15 Oct 2022 11:14:36 +0200 Subject: [PATCH] s/const/constexpr in simde_mm_movemask_epi8 --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 0ba23751..5404126e 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -377,7 +377,7 @@ private: static inline int simde_mm_movemask_epi8(uint8x16_t a) { - static const uint8_t md[16]={ + static constexpr uint8_t md[16]={ 1 << 0, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7, 1 << 0, 1 << 1, 1 << 2, 1 << 3,