diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-05-30 22:30:34 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-05-30 22:46:46 -0700 |
commit | 9ef1cf15a96e179d3913f7eaa232c515a0a38134 (patch) | |
tree | 08927786a104ec1266f839202d4fbbc56d1cc249 /src/filter | |
parent | 679b3bc00f851c1511eed7f944209cf096f87657 (diff) |
clang-tidy: default virtual destructors
Found with cppcoreguidelines-special-member-functions
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/filter')
-rw-r--r-- | src/filter/Filter.hxx | 2 | ||||
-rw-r--r-- | src/filter/Prepared.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/filter/Filter.hxx b/src/filter/Filter.hxx index 5b1275254..b776b4c1d 100644 --- a/src/filter/Filter.hxx +++ b/src/filter/Filter.hxx @@ -36,7 +36,7 @@ protected: } public: - virtual ~Filter() noexcept {} + virtual ~Filter() noexcept = default; /** * Returns the #AudioFormat produced by FilterPCM(). diff --git a/src/filter/Prepared.hxx b/src/filter/Prepared.hxx index c977c3cb3..385c3ceab 100644 --- a/src/filter/Prepared.hxx +++ b/src/filter/Prepared.hxx @@ -27,7 +27,7 @@ class Filter; class PreparedFilter { public: - virtual ~PreparedFilter() {} + virtual ~PreparedFilter() = default; /** * Opens the filter, preparing it for FilterPCM(). |