]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/gil/color_convert.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / gil / color_convert.hpp
index 3ebcd0c651cfd6b71432e8e772689ef86f54b0bf..4894359c5f28ba3ac1819cdde829b59b249c8ba0 100644 (file)
@@ -39,7 +39,12 @@ template <typename P> struct channel_type;
 /// \ingroup ColorConvert
 /// \brief Color Convertion function object. To be specialized for every src/dst color space
 template <typename C1, typename C2>
-struct default_color_converter_impl {};
+struct default_color_converter_impl
+{
+    static_assert(
+        std::is_same<C1, C2>::value,
+        "default_color_converter_impl not specialized for given color spaces");
+};
 
 /// \ingroup ColorConvert
 /// \brief When the color space is the same, color convertion performs channel depth conversion