From 7bc78f51ffb439abbaf33ba4a39786f5287abd3c Mon Sep 17 00:00:00 2001 From: Tanzinul Islam Date: Fri, 8 Sep 2017 21:37:03 +0100 Subject: [PATCH] Move the `detail` namespace entirely within the `#ifndef __BORLANDC__`-block. --- include/boost/type_traits/type_with_alignment.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index d71fac3..8da5123 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -25,9 +25,8 @@ #endif namespace boost { - namespace detail{ - #ifndef __BORLANDC__ + namespace detail{ union max_align { @@ -214,8 +213,6 @@ template<> struct is_pod< ::boost::tt_align_ns::a128> : public true_type{}; // 2) Because of Borlands #pragma option we can create types with alignments that are // greater that the largest aligned builtin type. -} // namespace detail - namespace tt_align_ns{ #pragma option push -a16 struct a2{ short s; };