forked from boostorg/array
Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
This commit is contained in:
1 parent
2e88dc228d
commit
4dd2cf1b64
1 file changed
+2
-2
+2
-2
@@ -85,12 +85,12 @@ void RunTests()
|
|||||||
// Confirm at() throws the std lib defined exception
|
// Confirm at() throws the std lib defined exception
|
||||||
try {
|
try {
|
||||||
BadValue( test_case.at( 0 ) );
|
BadValue( test_case.at( 0 ) );
|
||||||
} catch ( const std::range_error & ) {
|
} catch ( const std::out_of_range & ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
BadValue( const_test_case.at( 0 ) );
|
BadValue( const_test_case.at( 0 ) );
|
||||||
} catch ( const std::range_error & ) {
|
} catch ( const std::out_of_range & ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user