Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / gil / extension / io / bmp / detail / is_allowed.hpp
index 1bc739e..e479256 100644 (file)
 #include <boost/gil/extension/io/bmp/tags.hpp>
 #include <boost/gil/channel.hpp>
 
-#include <boost/mpl/bool_fwd.hpp>
+#include <type_traits>
 
 namespace boost { namespace gil { namespace detail {
 
 template< typename View >
 bool is_allowed( const image_read_info< bmp_tag >& info
-               , mpl::true_   // is read_and_no_convert
+               , std::true_type   // is read_and_no_convert
                )
 {
     bmp_bits_per_pixel::type src_bits_per_pixel = 0;
@@ -73,7 +73,7 @@ bool is_allowed( const image_read_info< bmp_tag >& info
 
 template< typename View >
 bool is_allowed( const image_read_info< bmp_tag >& /* info */
-               , mpl::false_  // is read_and_convert
+               , std::false_type  // is read_and_convert
                )
 {
     return true;