Fixed #9746. Deleted workarounds for old SUN_CC compilers, those are now unsupported.

This commit is contained in:
Ion Gaztañaga committed 2014-03-18 17:30:48 +01:00
1 parent 6c623e8d16
commit 26acf03a9b
2 files changed
+3 -8

No files matched your search

@@ -186,11 +186,7 @@ template <typename Ptr, typename T>
struct type_has_rebind
{
template <typename X>
#if !defined (__SUNPRO_CC)
static char test(int, typename X::template rebind<T>*);
#else
static char test(int, typename X::rebind<T>*);
#endif
template <typename X>
static int test(boost::intrusive::detail::LowPriorityConversion<int>, void*);
@@ -202,11 +198,7 @@ template <typename Ptr, typename T>
struct type_has_rebind_other
{
template <typename X>
#if !defined (__SUNPRO_CC)
static char test(int, typename X::template rebind<T>::other*);
#else
static char test(int, typename X::rebind<T>::other*);
#endif
template <typename X>
static int test(boost::intrusive::detail::LowPriorityConversion<int>, void*);