|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82745 - trunk/boost/gil
From: chhenning_at_[hidden]
Date: 2013-02-06 20:26:12
Author: chhenning
Date: 2013-02-04 15:17:39 EST (Mon, 04 Feb 2013)
New Revision: 82745
URL: http://svn.boost.org/trac/boost/changeset/82745
Log:
The last fix produces a compiler with Visual Studio 2010.
See ticket 7970.
Text files modified:
trunk/boost/gil/channel_algorithm.hpp | 3 ++-
1 files changed, 2 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-04 15:17:39 EST (Mon, 04 Feb 2013)
@@ -51,7 +51,8 @@
template <typename UnsignedIntegralChannel>
-struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,std::numeric_limits<UnsignedIntegralChannel>::max()> {};
+//struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,std::numeric_limits<UnsignedIntegralChannel>::max()> {};
+struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,UnsignedIntegralChannel(-1)> {};
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