From b5877b8d9a02e69a93342ea6cb9b5ace0660f848 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Sat, 26 Apr 2008 17:43:58 +0000 Subject: [PATCH] Added protected destructor to the base type error_info_base [SVN r44781] --- include/boost/exception/info.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/exception/info.hpp b/include/boost/exception/info.hpp index 2f6e936..2661198 100644 --- a/include/boost/exception/info.hpp +++ b/include/boost/exception/info.hpp @@ -36,6 +36,12 @@ boost virtual std::type_info const & tag_typeid() const = 0; virtual std::string value_as_string() const = 0; + + protected: + + ~error_info_base() + { + } }; }