Fix conflicts with the I macro in <complex.h>.

This commit is contained in:
Peter Dimov
2015-01-21 19:55:42 +02:00
parent a74329794c
commit 7faec4265b

View File

@@ -31,7 +31,7 @@ namespace boost
namespace detail
{
template< int I > class spinlock_pool
template< int M > class spinlock_pool
{
private:
@@ -72,7 +72,7 @@ public:
};
};
template< int I > spinlock spinlock_pool< I >::pool_[ 41 ] =
template< int M > spinlock spinlock_pool< M >::pool_[ 41 ] =
{
BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT,
BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT, BOOST_DETAIL_SPINLOCK_INIT,