|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82702 - trunk/boost/gil
From: chhenning_at_[hidden]
Date: 2013-02-06 20:24:48
Author: chhenning
Date: 2013-02-03 15:04:23 EST (Sun, 03 Feb 2013)
New Revision: 82702
URL: http://svn.boost.org/trac/boost/changeset/82702
Log:
#7970
Text files modified:
trunk/boost/gil/channel_algorithm.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/gil/channel_algorithm.hpp
==============================================================================
--- trunk/boost/gil/channel_algorithm.hpp (original)
+++ trunk/boost/gil/channel_algorithm.hpp 2013-02-03 15:04:23 EST (Sun, 03 Feb 2013)
@@ -51,7 +51,7 @@
template <typename UnsignedIntegralChannel>
-struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,-1> {};
+struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,std::numeric_limits<UnsignedIntegralChannel>::max()> {};
template <>
struct unsigned_integral_max_value<uint8_t> : public mpl::integral_c<uint32_t,0xFF> {};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk