From 79cadb97d70b6d4d8ed37a01922e2d8df64dcd45 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 10 Mar 2010 14:23:49 +0000 Subject: [PATCH] Changed exception throwing to use boost::throw_exception [SVN r60417] --- include/boost/array.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/array.hpp b/include/boost/array.hpp index fd2242f..207445d 100644 --- a/include/boost/array.hpp +++ b/include/boost/array.hpp @@ -168,7 +168,8 @@ namespace boost { // check range (may be private because it is static) static void rangecheck (size_type i) { if (i >= size()) { - throw std::out_of_range("array<>: index out of range"); + std::out_of_range e("array<>: index out of range"); + boost::throw_exception(e); } }