Better fix for the bug fixed by my previous commit.

[SVN r75646]
This commit is contained in:
Emil Dotchevski
2011-11-24 21:07:14 +00:00
committed by Peter Dimov
parent 630a5ceb0a
commit 608406feb6

View File

@ -412,16 +412,17 @@ boost
public T,
public clone_base
{
public:
explicit
clone_impl( T const & x ):
struct clone_tag { };
clone_impl( clone_impl const & x, clone_tag ):
T(x)
{
copy_boost_exception(this,&x);
}
clone_impl( clone_impl const & x ):
public:
explicit
clone_impl( T const & x ):
T(x)
{
copy_boost_exception(this,&x);
@ -436,7 +437,7 @@ boost
clone_base const *
clone() const
{
return new clone_impl(*this);
return new clone_impl(*this,clone_tag());
}
void