mirror of
https://github.com/boostorg/gil.git
synced 2026-02-19 02:22:09 +00:00
Fixed two minor compiler errors showing up under in the new GCC 4.3.0
[SVN r43565]
This commit is contained in:
@@ -16,9 +16,11 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <typeinfo>
|
||||
#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
|
||||
///
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ template <typename BitField,
|
||||
bool IsMutable>
|
||||
struct bit_aligned_pixel_reference {
|
||||
BOOST_STATIC_CONSTANT(int, bit_size = (mpl::accumulate<ChannelBitSizes, mpl::int_<0>, mpl::plus<mpl::_1, mpl::_2> >::type::value));
|
||||
typedef bit_range<bit_size,IsMutable> bit_range_t;
|
||||
typedef boost::gil::bit_range<bit_size,IsMutable> bit_range_t;
|
||||
typedef BitField bitfield_t;
|
||||
typedef typename mpl::if_c<IsMutable,unsigned char*,const unsigned char*>::type data_ptr_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user