Skip to content

Commit

Permalink
Replace remains of boost::is_integral with std::is_integral
Browse files Browse the repository at this point in the history
All custom specializations of boost::is_integral for bit-packed channel value
have been replaced with specializations of std::is_integral.
  • Loading branch information
mloskot committed Apr 9, 2019
1 parent 1a2b6f4 commit f45dd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/gil/channel_algorithm.hpp
Expand Up @@ -124,7 +124,7 @@ struct unsigned_integral_num_bits<packed_channel_value<K>>

template <typename SrcChannelV, typename DstChannelV> // Model ChannelValueConcept
struct channel_converter_unsigned
: public detail::channel_converter_unsigned_impl<SrcChannelV,DstChannelV,is_integral<SrcChannelV>::value,is_integral<DstChannelV>::value> {};
: public detail::channel_converter_unsigned_impl<SrcChannelV,DstChannelV,std::is_integral<SrcChannelV>::value,std::is_integral<DstChannelV>::value> {};


/// \brief Converting a channel to itself - identity operation
Expand Down

0 comments on commit f45dd04

Please sign in to comment.