diff --git a/include/boost/gil/gil_concept.hpp b/include/boost/gil/gil_concept.hpp index 9b3e82504..720cf05e3 100644 --- a/include/boost/gil/gil_concept.hpp +++ b/include/boost/gil/gil_concept.hpp @@ -702,8 +702,8 @@ struct HomogeneousColorBaseConcept { typedef typename kth_element_type::type TN; BOOST_STATIC_ASSERT((is_same::value)); // better than nothing - typedef typename kth_element_const_reference_type::type CR0; - CR0 e0=dynamic_at_c(cb,0); + typedef typename kth_element_const_reference_type::type CRef0; + CRef0 e0=dynamic_at_c(cb,0); } ColorBase cb; };