stylistic

This commit is contained in:
joaquintides
2023-03-30 14:50:19 +02:00
parent 6a4728add0
commit e86bb5cce2

View File

@ -791,13 +791,15 @@ private:
* access is always const regardless of group access. * access is always const regardless of group access.
*/ */
static inline const value_type& cast_for(group_shared,value_type& x) static inline const value_type&
{return x;} cast_for(group_shared,value_type& x){return x;}
static inline typename std::conditional< static inline typename std::conditional<
std::is_same<key_type,value_type>::value, std::is_same<key_type,value_type>::value,
const value_type&, const value_type&,
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 struct erase_on_exit
{ {