forked from boostorg/intrusive
Fix ignored qualifier warnings
This commit is contained in:
@@ -424,7 +424,7 @@ void destructor_impl(Hook &, detail::link_dispatch<normal_link>)
|
|||||||
template<>
|
template<>
|
||||||
struct builtin_clz_dispatch<unsigned long long>
|
struct builtin_clz_dispatch<unsigned long long>
|
||||||
{
|
{
|
||||||
static const unsigned long long call(unsigned long long n)
|
static unsigned long long call(unsigned long long n)
|
||||||
{ return __builtin_clzll(n); }
|
{ return __builtin_clzll(n); }
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@@ -432,14 +432,14 @@ void destructor_impl(Hook &, detail::link_dispatch<normal_link>)
|
|||||||
template<>
|
template<>
|
||||||
struct builtin_clz_dispatch<unsigned long>
|
struct builtin_clz_dispatch<unsigned long>
|
||||||
{
|
{
|
||||||
static const unsigned long call(unsigned long n)
|
static unsigned long call(unsigned long n)
|
||||||
{ return __builtin_clzl(n); }
|
{ return __builtin_clzl(n); }
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
struct builtin_clz_dispatch<unsigned int>
|
struct builtin_clz_dispatch<unsigned int>
|
||||||
{
|
{
|
||||||
static const unsigned int call(unsigned int n)
|
static unsigned int call(unsigned int n)
|
||||||
{ return __builtin_clz(n); }
|
{ return __builtin_clz(n); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user