summaryrefslogtreecommitdiff
path: root/boost/type_traits/type_with_alignment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/type_with_alignment.hpp')
-rw-r--r--boost/type_traits/type_with_alignment.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/boost/type_traits/type_with_alignment.hpp b/boost/type_traits/type_with_alignment.hpp
index ddf1d98294..8da5123189 100644
--- a/boost/type_traits/type_with_alignment.hpp
+++ b/boost/type_traits/type_with_alignment.hpp
@@ -25,9 +25,8 @@
#endif
namespace boost {
- namespace detail{
-
#ifndef __BORLANDC__
+ namespace detail{
union max_align
{
@@ -76,7 +75,7 @@ template <std::size_t Target> struct short_alignment<Target, false>{ typedef typ
template <std::size_t Target, bool check> struct char_alignment{ typedef char type; };
template <std::size_t Target> struct char_alignment<Target, false>{ typedef typename short_alignment<Target, boost::alignment_of<short>::value >= Target>::type type; };
-}
+} // namespace detail
template <std::size_t Align>
struct type_with_alignment