Fix -Wconversion warning for GCC / 64 bits

../../boost/type_traits/is_complete.hpp:47:14: error: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value 
       ok_tag<sizeof(T)> check_is_complete(int);
This commit is contained in:
Ion Gaztañaga
2021-12-30 15:29:17 +01:00
committed by GitHub
parent b265ce8f3a
commit 8583d1a967

View File

@ -15,6 +15,7 @@
#include <boost/type_traits/is_function.hpp>
#include <boost/type_traits/detail/yes_no_type.hpp>
#include <boost/config/workaround.hpp>
#include <cstddef>
/*
* CAUTION:
@ -40,7 +41,7 @@ namespace boost {
namespace detail{
template <unsigned N>
template <std::size_t N>
struct ok_tag { double d; char c[N]; };
template <class T>