forked from boostorg/throw_exception
Making clone_impl derive virtually from clone_base, so that calling boost::copy_exception with a type that already derives from clone_impl doesn't make pointer conversions to clone_impl ambiguous.
[SVN r77339]
This commit is contained in:
committed by
Peter Dimov
parent
e197ee3220
commit
4be618b91d
@ -430,7 +430,7 @@ boost
|
|||||||
class
|
class
|
||||||
clone_impl:
|
clone_impl:
|
||||||
public T,
|
public T,
|
||||||
public clone_base
|
public virtual clone_base
|
||||||
{
|
{
|
||||||
struct clone_tag { };
|
struct clone_tag { };
|
||||||
clone_impl( clone_impl const & x, clone_tag ):
|
clone_impl( clone_impl const & x, clone_tag ):
|
||||||
|
Reference in New Issue
Block a user