From 3dbbb2140feff4de3e342e6ea1563b042a36badf Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 16 Mar 2012 08:48:10 +0000 Subject: [PATCH] Quickbook: Merge from trunk. Includes blocks in lists fixes, and some documentation changes. [SVN r77347] --- include/boost/array.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index ffb504b..61d50e7 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -118,13 +118,13 @@ namespace boost { // operator[] reference operator[](size_type i) { - BOOST_ASSERT( i < N && "out of range" ); + BOOST_ASSERT_MSG( i < N, "out of range" ); return elems[i]; } const_reference operator[](size_type i) const { - BOOST_ASSERT( i < N && "out of range" ); + BOOST_ASSERT_MSG( i < N, "out of range" ); return elems[i]; }