Minor cosmetic changes in make_shared for arrays

This commit is contained in:
Glen Fernandes
2014-01-28 02:27:49 -08:00
parent db78d9b2be
commit 87e5debdc2
8 changed files with 103 additions and 91 deletions

View File

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