From 2bce5b2c26a916faa553c23f3b2482d326f09bb3 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 15 Dec 2003 17:20:28 +0000 Subject: [PATCH] MIPSpro 7.3.1 workaround, as suggested by David Abrahams (thanks!) [SVN r21275] --- include/boost/type_traits/type_with_alignment.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index fb284f8..5b4bd01 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -100,9 +100,9 @@ struct lower_alignment_helper template struct lower_alignment_helper - : mpl::if_c<(alignment_of::value == target), TestType, char> { enum { value = (alignment_of::value == target) }; + typedef typename mpl::if_c::type type; }; #endif