From 1e7b26738e851b6de234b6cbf5544ce6e35bb444 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Thu, 13 Mar 2003 12:54:53 +0000 Subject: [PATCH] Fixed alignment bug (::type missing) [SVN r17890] --- include/boost/optional.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/optional.hpp b/include/boost/optional.hpp index 7dbd9a6..9a5c446 100644 --- a/include/boost/optional.hpp +++ b/include/boost/optional.hpp @@ -57,7 +57,7 @@ namespace boost union dummy_u { char data[ sizeof(T) ]; - type_with_alignment< ::boost::alignment_of::value > aligner_; + type_with_alignment< ::boost::alignment_of::value >::type aligner_; } dummy_ ; public: