Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / gil / extension / io / jpeg / detail / is_allowed.hpp
index cee77f0..02a9ee4 100644 (file)
 
 #include <boost/gil/extension/io/jpeg/tags.hpp>
 
+#include <type_traits>
+
 namespace boost { namespace gil { namespace detail {
 
 template< typename View >
 bool is_allowed( const image_read_info< jpeg_tag >& info
-               , mpl::true_   // is read_and_no_convert
+               , std::true_type   // is read_and_no_convert
                )
 {
     if( info._color_space == JCS_YCbCr )
@@ -32,7 +34,7 @@ bool is_allowed( const image_read_info< jpeg_tag >& info
 
 template< typename View >
 bool is_allowed( const image_read_info< jpeg_tag >& /* info */
-               , mpl::false_  // is read_and_convert
+               , std::false_type  // is read_and_convert
                )
 {
     return true;