From 0dde936e61eb0d5d3d227daf787738c25d6f1cdb Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Mon, 26 Jan 2004 00:19:59 +0000 Subject: [PATCH] DM fixes [SVN r21933] --- include/boost/detail/call_traits.hpp | 10 +++------- include/boost/detail/compressed_pair.hpp | 12 ++++-------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/include/boost/detail/call_traits.hpp b/include/boost/detail/call_traits.hpp index f4150eb..ee9d36c 100644 --- a/include/boost/detail/call_traits.hpp +++ b/include/boost/detail/call_traits.hpp @@ -22,12 +22,8 @@ #include #endif -#ifndef BOOST_ARITHMETIC_TYPE_TRAITS_HPP -#include -#endif -#ifndef BOOST_COMPOSITE_TYPE_TRAITS_HPP -#include -#endif +#include +#include namespace boost{ @@ -124,7 +120,7 @@ struct call_traits typedef T& param_type; // hh removed const }; #endif -#ifndef __SUNPRO_CC +#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS) template struct call_traits { diff --git a/include/boost/detail/compressed_pair.hpp b/include/boost/detail/compressed_pair.hpp index 894474a..9c9ac7e 100644 --- a/include/boost/detail/compressed_pair.hpp +++ b/include/boost/detail/compressed_pair.hpp @@ -18,15 +18,11 @@ #define BOOST_DETAIL_COMPRESSED_PAIR_HPP #include -#ifndef BOOST_OBJECT_TYPE_TRAITS_HPP -#include -#endif -#ifndef BOOST_SAME_TRAITS_HPP -#include -#endif -#ifndef BOOST_CALL_TRAITS_HPP + +#include +#include +#include #include -#endif namespace boost {