From 3706d504599382044bd962655b40ee26556f48fe Mon Sep 17 00:00:00 2001 From: Eric Friedman Date: Wed, 4 Jun 2003 04:39:18 +0000 Subject: [PATCH] Fix in friend declarations. [SVN r18661] --- include/boost/aligned_storage.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/aligned_storage.hpp b/include/boost/aligned_storage.hpp index 68d1b5f..a3acab3 100644 --- a/include/boost/aligned_storage.hpp +++ b/include/boost/aligned_storage.hpp @@ -67,14 +67,14 @@ public: // constants private: // representation - friend union data_t; - union data_t { char buf[size]; align_t dummy_; } data_; + friend union data_t; + #if BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(2)) public: // _should_ be noncopyable, but GCC compiler emits error