forked from boostorg/exception
Improved compatibility with various compilers.
[SVN r45087]
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
#ifndef UUID_F7D5662CCB0F11DCA353CAC656D89593
|
||||
#define UUID_F7D5662CCB0F11DCA353CAC656D89593
|
||||
|
||||
#include <boost/detail/workaround.hpp>
|
||||
|
||||
namespace
|
||||
boost
|
||||
{
|
||||
@ -23,9 +25,8 @@ boost
|
||||
|
||||
protected:
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if BOOST_WORKAROUND( __GNUC__, BOOST_TESTED_AT(4) )
|
||||
virtual //Disable bogus GCC warning.
|
||||
//Would someone at GCC finally get the protected, non-virtual destructor approach?
|
||||
#endif
|
||||
~cloning_base() throw()
|
||||
{
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef UUID_DBA0D90C930911DCBA7B675A56D89593
|
||||
#define UUID_DBA0D90C930911DCBA7B675A56D89593
|
||||
|
||||
#include <boost/detail/workaround.hpp>
|
||||
|
||||
namespace
|
||||
boost
|
||||
{
|
||||
@ -34,9 +36,8 @@ boost
|
||||
|
||||
protected:
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if BOOST_WORKAROUND( __GNUC__, BOOST_TESTED_AT(4) )
|
||||
virtual //Disable bogus GCC warning.
|
||||
//Would someone at GCC finally get the protected, non-virtual destructor approach?
|
||||
#endif
|
||||
~counted_base() throw()
|
||||
{
|
||||
|
Reference in New Issue
Block a user