Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / gil / extension / io / raw / detail / read.hpp
index a999421..87a085b 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <cstdio>
 #include <sstream>
+#include <type_traits>
 #include <vector>
 
 namespace boost { namespace gil {
@@ -100,7 +101,7 @@ public:
             io_error( "Image header was not read." );
         }
 
-        using is_read_and_convert_t = typename is_same
+        using is_read_and_convert_t = typename std::is_same
             <
                 ConversionPolicy,
                 detail::read_and_no_convert
@@ -165,10 +166,7 @@ struct raw_type_format_checker
     bool apply()
     {
         using view_t = typename Image::view_t;
-
-        return is_allowed< view_t >( _info
-                                   , mpl::true_()
-                                   );
+        return is_allowed<view_t>(_info, std::true_type{});
     }
 
 private: