From e86bb5cce28705916f8d55217797ded62c6b993f Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 30 Mar 2023 14:50:19 +0200 Subject: [PATCH] stylistic --- include/boost/unordered/detail/foa/concurrent_table.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index 5ec0f346..55ec8519 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -791,13 +791,15 @@ private: * access is always const regardless of group access. */ - static inline const value_type& cast_for(group_shared,value_type& x) - {return x;} + static inline const value_type& + cast_for(group_shared,value_type& x){return x;} + static inline typename std::conditional< std::is_same::value, const value_type&, value_type& - >::type cast_for(group_exclusive,value_type& x){return x;} + >::type + cast_for(group_exclusive,value_type& x){return x;} struct erase_on_exit {