From 650b4a89b364814adf0af127662711bde654c939 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Thu, 13 Mar 2003 15:38:04 +0000 Subject: [PATCH] Alignment bug fixed [SVN r17892] --- 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: