From 6abbe579a2e8d6f726b7f037fa8395145e6e20a8 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 18 Jan 2024 10:52:33 -0800 Subject: [PATCH] clang-tidy: remove virtual from prot destructors Found with cppcoreguidelines-virtual-class-destructor Signed-off-by: Rosen Penev --- taglib/mp4/mp4itemfactory.h | 2 +- taglib/mpeg/id3v2/id3v2framefactory.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/taglib/mp4/mp4itemfactory.h b/taglib/mp4/mp4itemfactory.h index 4e209336..88590e1c 100644 --- a/taglib/mp4/mp4itemfactory.h +++ b/taglib/mp4/mp4itemfactory.h @@ -158,7 +158,7 @@ namespace TagLib { /*! * Destroys the frame factory. */ - virtual ~ItemFactory(); + ~ItemFactory(); /*! * Returns mapping between atom names and handler types. diff --git a/taglib/mpeg/id3v2/id3v2framefactory.h b/taglib/mpeg/id3v2/id3v2framefactory.h index 8f6c579e..e4ffcb99 100644 --- a/taglib/mpeg/id3v2/id3v2framefactory.h +++ b/taglib/mpeg/id3v2/id3v2framefactory.h @@ -137,7 +137,7 @@ namespace TagLib { /*! * Destroys the frame factory. */ - virtual ~FrameFactory(); + ~FrameFactory(); /*! * This method checks for compliance to the current ID3v2 standard (2.4)