From 75360ac87e9d89fed1202a99d250a0dbefe43bdf Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Wed, 29 Oct 2008 17:01:41 +0000 Subject: [PATCH] Undo remove virtual Error destructor, g++ wants it because of the throw() declaration. --- src/error.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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