use constexpr instead of BOOST_STATIC_CONST
This commit is contained in:
parent
5e9b40aebd
commit
c399469d95
1 changed files with 1 additions and 3 deletions
|
@ -100,9 +100,7 @@ template<typename T0,typename T1>
|
|||
struct has_process
|
||||
{
|
||||
using processor_impl_type = typename T0::processor_impl_type;
|
||||
BOOST_STATIC_CONSTANT(bool
|
||||
, value = sizeof(has_process_helper<processor_impl_type,T1>(0)) == sizeof(yes_tag)
|
||||
);
|
||||
constexpr static bool value = (sizeof(has_process_helper<processor_impl_type,T1>(0)) == sizeof(yes_tag));
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue