Minor cosmetic changes in make_shared for arrays

This commit is contained in:
Glen Fernandes committed 2014-01-28 03:40:54 -08:00
1 parent db78d9b2be
commit 87e5debdc2
8 files changed
+103 -91

No files matched your search

+2 -4
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);
}