From 3a9c8996faf792b62f3fb12c75e379ea99468f3d Mon Sep 17 00:00:00 2001 From: Hailin Jin Date: Tue, 11 Mar 2008 17:28:42 +0000 Subject: [PATCH] Fixed two minor compiler errors showing up under in the new GCC 4.3.0 [SVN r43565] --- include/boost/gil/algorithm.hpp | 4 +++- include/boost/gil/bit_aligned_pixel_reference.hpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/gil/algorithm.hpp b/include/boost/gil/algorithm.hpp index 4bf0379f3..b03776e7d 100644 --- a/include/boost/gil/algorithm.hpp +++ b/include/boost/gil/algorithm.hpp @@ -16,9 +16,11 @@ #include #include +#include #include #include #include +#include #include "gil_config.hpp" #include "gil_concept.hpp" #include "color_base_algorithm.hpp" @@ -31,7 +33,7 @@ /// \brief Some basic STL-style algorithms when applied to image views /// \author Lubomir Bourdev and Hailin Jin \n /// Adobe Systems Incorporated -/// \date 2005-2007 \n Last updated on May 6, 2007 +/// \date 2005-2008 \n Last updated on March 12, 2008 /// //////////////////////////////////////////////////////////////////////////////////////// diff --git a/include/boost/gil/bit_aligned_pixel_reference.hpp b/include/boost/gil/bit_aligned_pixel_reference.hpp index 370c35f55..32dde71f8 100644 --- a/include/boost/gil/bit_aligned_pixel_reference.hpp +++ b/include/boost/gil/bit_aligned_pixel_reference.hpp @@ -121,7 +121,7 @@ template struct bit_aligned_pixel_reference { BOOST_STATIC_CONSTANT(int, bit_size = (mpl::accumulate, mpl::plus >::type::value)); - typedef bit_range bit_range_t; + typedef boost::gil::bit_range bit_range_t; typedef BitField bitfield_t; typedef typename mpl::if_c::type data_ptr_t;