Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75563 - trunk/boost/fusion/view/nview/detail
From: joel_at_[hidden]
Date: 2011-11-20 05:59:11


Author: djowel
Date: 2011-11-20 05:59:09 EST (Sun, 20 Nov 2011)
New Revision: 75563
URL: http://svn.boost.org/trac/boost/changeset/75563

Log:
fix problem where sizeof(int) != sizeof(long)
Text files modified:
   trunk/boost/fusion/view/nview/detail/nview_impl.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/fusion/view/nview/detail/nview_impl.hpp
==============================================================================
--- trunk/boost/fusion/view/nview/detail/nview_impl.hpp (original)
+++ trunk/boost/fusion/view/nview/detail/nview_impl.hpp 2011-11-20 05:59:09 EST (Sun, 20 Nov 2011)
@@ -1,7 +1,7 @@
 /*=============================================================================
     Copyright (c) 2009 Hartmut Kaiser
 
- Distributed under the Boost Software License, Version 1.0. (See accompanying
+ Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
 
@@ -27,7 +27,7 @@
 namespace boost { namespace fusion { namespace result_of
 {
     template <typename Sequence
- , BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(FUSION_MAX_VECTOR_SIZE, int I, LONG_MAX)>
+ , BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(FUSION_MAX_VECTOR_SIZE, int I, INT_MAX)>
     struct as_nview
     {
         typedef mpl::vector_c<


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