Code consistency: Use the same style of #if conditional compilation checks in allocate_shared_array.hpp and make_shared_array.hpp.

[SVN r81643]
This commit is contained in:
Glen Fernandes
2012-12-01 05:40:06 +00:00
parent 8597433028
commit f5adfb0963
8 changed files with 7 additions and 11 deletions

View File

@@ -50,7 +50,7 @@ int main() {
BOOST_TEST(a1[3].value == 3);
}
#endif
#ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX)
{
boost::shared_ptr<int[4]> a1 = boost::allocate_shared<int[4]>(std::allocator<int>(), { 0, 1, 2, 3 });
BOOST_TEST(a1[0] == 0);