Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion include/boost/archive/archive_exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ namespace archive {
//////////////////////////////////////////////////////////////////////
// exceptions thrown by archives
//
// The base is deliberately not virtual: a virtual one would give the
// class an implicit vbase destructor, which cl and clang-cl expect to
// find in different modules. See issue #321.
class BOOST_SYMBOL_VISIBLE archive_exception :
public virtual std::exception
public std::exception
{
private:
char m_buffer[128];
Expand Down
4 changes: 3 additions & 1 deletion include/boost/archive/xml_archive_exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ namespace archive {
//////////////////////////////////////////////////////////////////////
// exceptions thrown by xml archives
//
// The base is deliberately not virtual, for the reason given in
// archive_exception.hpp. See issue #321.
class BOOST_SYMBOL_VISIBLE xml_archive_exception :
public virtual boost::archive::archive_exception
public boost::archive::archive_exception
{
public:
typedef enum {
Expand Down