From 68988c687d632ac9ff4075a3d4a16cdbdd09d7e6 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 1 Apr 2001 11:59:18 +0000 Subject: [PATCH] Added boost-wide woraround [SVN r9688] --- include/boost/concept_archetype.hpp | 2 +- include/boost/concept_check.hpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/concept_archetype.hpp b/include/boost/concept_archetype.hpp index b8a01be..9cf0166 100644 --- a/include/boost/concept_archetype.hpp +++ b/include/boost/concept_archetype.hpp @@ -48,7 +48,7 @@ namespace boost { class static_object { public: static T& get() { - char d[sizeof(T)]; + static char d[sizeof(T)]; return *reinterpret_cast(d); } }; diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index 86e9dd4..3e6fa20 100644 --- a/include/boost/concept_check.hpp +++ b/include/boost/concept_check.hpp @@ -5,13 +5,16 @@ // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. // +// Revision History: +// 01 April 2001: Modified to use new header. (JMaddock) +// #ifndef BOOST_CONCEPT_CHECKS_HPP #define BOOST_CONCEPT_CHECKS_HPP #include #include #include -#include +#include #include #if defined(BOOST_MSVC) || defined(__BORLANDC__)