fix problem where sizeof(int) != sizeof(long)

[SVN r75563]
This commit is contained in:
Joel de Guzman
2011-11-20 10:59:09 +00:00
parent bbf10066bc
commit 0a520f6021

View File

@ -1,7 +1,7 @@
/*============================================================================= /*=============================================================================
Copyright (c) 2009 Hartmut Kaiser 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) 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 namespace boost { namespace fusion { namespace result_of
{ {
template <typename Sequence 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 struct as_nview
{ {
typedef mpl::vector_c< typedef mpl::vector_c<