Changed exception throwing to use boost::throw_exception

[SVN r60417]
This commit is contained in:
Marshall Clow
2010-03-10 14:23:49 +00:00
parent 9609395af0
commit 79cadb97d7

View File

@ -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);
}
}