Skip to content

Commit 5c960c4

Browse files
committed
remove unneeded default destructor
It inherits from std::exception anyway. Signed-off-by: Rosen Penev <[email protected]>
1 parent 3447f7d commit 5c960c4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/exiv2/error.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,6 @@ class EXIV2API Error : public std::exception {
263263
setMsg(3);
264264
}
265265

266-
//! Virtual destructor. (Needed because of throw())
267-
~Error() noexcept override = default;
268-
//@}
269-
270266
//! @name Accessors
271267
//@{
272268
[[nodiscard]] ErrorCode code() const noexcept;

0 commit comments

Comments
 (0)