From 1f9c63c34f0fb18cac1709654578e10ce4dcc889 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 1 Mar 2017 12:08:17 +0200 Subject: [PATCH] Fix MSVC parsing problem in allocate_shared_array --- include/boost/smart_ptr/allocate_shared_array.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/smart_ptr/allocate_shared_array.hpp b/include/boost/smart_ptr/allocate_shared_array.hpp index 9d31312..e7d0964 100644 --- a/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/include/boost/smart_ptr/allocate_shared_array.hpp @@ -352,7 +352,7 @@ sp_array_default(T* storage, std::size_t size) template struct sp_less_align { enum { - value = (boost::alignment_of::value < + value = ((boost::alignment_of::value) < boost::alignment_of::value) }; };