mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-10-19 10:55:27 +02:00
Minor cosmetic changes in make_shared for arrays
This commit is contained in:
@@ -84,8 +84,7 @@ int main() {
|
||||
try {
|
||||
boost::make_shared_noinit<type[6]>();
|
||||
BOOST_ERROR("make_shared_noinit did not throw");
|
||||
}
|
||||
catch (...) {
|
||||
} catch (...) {
|
||||
BOOST_TEST(type::instances == 0);
|
||||
}
|
||||
|
||||
@@ -93,8 +92,7 @@ int main() {
|
||||
try {
|
||||
boost::make_shared_noinit<type[3][2]>();
|
||||
BOOST_ERROR("make_shared_noinit did not throw");
|
||||
}
|
||||
catch (...) {
|
||||
} catch (...) {
|
||||
BOOST_TEST(type::instances == 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user