diff --git a/src/error.hpp b/src/error.hpp index 480ccea2..8429aebf 100644 --- a/src/error.hpp +++ b/src/error.hpp @@ -113,6 +113,10 @@ namespace Exiv2 { { setMsg(); } + //! Virtual destructor. (Needed because of throw()) + virtual EXIV2API ~Error() throw() + { + } //@} //! @name Accessors