From 4be618b91d882c6b906e8f2a891c00be8cd50122 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Thu, 15 Mar 2012 02:13:52 +0000 Subject: [PATCH] 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] --- include/boost/exception/exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/exception/exception.hpp b/include/boost/exception/exception.hpp index 8967754..42d2787 100644 --- a/include/boost/exception/exception.hpp +++ b/include/boost/exception/exception.hpp @@ -430,7 +430,7 @@ boost class clone_impl: public T, - public clone_base + public virtual clone_base { struct clone_tag { }; clone_impl( clone_impl const & x, clone_tag ):