diff --git a/cfoa.hpp b/cfoa.hpp index 3c9a2149..131e1378 100644 --- a/cfoa.hpp +++ b/cfoa.hpp @@ -349,6 +349,16 @@ struct group15 vst1q_u8(reinterpret_cast(m),vdupq_n_s8(0)); } + inline std::atomic_uchar& at(std::size_t pos) + { + return m[pos]; + } + + inline const std::atomic_uchar& at(std::size_t pos)const + { + return m[pos]; + } + inline void set(std::size_t pos,std::size_t hash) { BOOST_ASSERT(pos(&m)[pos]; - } - - inline const std::atomic_uchar& at(std::size_t pos)const - { - return reinterpret_cast(&m)[pos]; - } - inline std::atomic_uchar& overflow() { return at(N);