diff --git a/include/boost/gil/gil_concept.hpp b/include/boost/gil/gil_concept.hpp index ab879fa43..94cc038b1 100644 --- a/include/boost/gil/gil_concept.hpp +++ b/include/boost/gil/gil_concept.hpp @@ -80,7 +80,6 @@ typename add_reference::type at_c( detail::hom template typename add_reference::type>::type at_c(const detail::homogeneous_color_base& p); -#if !defined(_MSC_VER) || _MSC_VER > 1310 template struct packed_pixel; template typename kth_element_reference_type, K>::type @@ -95,7 +94,6 @@ template struct bit_aligned_pixel_r template inline typename kth_element_reference_type, K>::type at_c(const bit_aligned_pixel_reference& p); -#endif // Forward-declare semantic_at_c template @@ -627,12 +625,10 @@ struct ColorBaseConcept { static const std::size_t num_elements = size::value; - typedef typename kth_element_type::type TN; - typedef typename kth_element_const_reference_type::type CR; + typedef typename kth_element_type::type TN; + typedef typename kth_element_const_reference_type::type CR; -#if !defined(_MSC_VER) || _MSC_VER > 1310 CR cr=gil::at_c(cb); ignore_unused_variable_warning(cr); -#endif // functions that work for every pixel (no need to require them) semantic_at_c<0>(cb); @@ -667,10 +663,8 @@ struct MutableColorBaseConcept { typedef typename kth_element_reference_type::type CR; -#if !defined(_MSC_VER) || _MSC_VER > 1310 CR r=gil::at_c<0>(cb); gil::at_c<0>(cb)=r; -#endif } ColorBase cb;