summaryrefslogtreecommitdiff
path: root/boost/function_types/detail/cv_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/function_types/detail/cv_traits.hpp')
-rw-r--r--boost/function_types/detail/cv_traits.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/boost/function_types/detail/cv_traits.hpp b/boost/function_types/detail/cv_traits.hpp
index 242f45b3b1..4e15fa480c 100644
--- a/boost/function_types/detail/cv_traits.hpp
+++ b/boost/function_types/detail/cv_traits.hpp
@@ -12,8 +12,7 @@
#include <cstddef>
#include <boost/detail/workaround.hpp>
-#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, <= 0x582)
+#if BOOST_WORKAROUND(__BORLANDC__, <= 0x582)
# include <boost/type_traits/remove_cv.hpp>
# include <boost/type_traits/remove_pointer.hpp>
# include <boost/type_traits/remove_reference.hpp>
@@ -23,8 +22,7 @@
namespace boost { namespace function_types { namespace detail {
-#if ! (defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
- || BOOST_WORKAROUND(__BORLANDC__, <= 0x582))
+#if !BOOST_WORKAROUND(__BORLANDC__, <= 0x582)
template<typename T> struct cv_traits
{ typedef non_cv tag; typedef T type; };