From be3c7eef60b341ea2616ef1f409eeb78c85763c4 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 25 Aug 2021 02:55:54 +0200 Subject: [PATCH] Use default --- ext/libstrawberry-tagreader/tagreaderbase.cpp | 4 ++-- ext/libstrawberry-tagreader/tagreadertagparser.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/libstrawberry-tagreader/tagreaderbase.cpp b/ext/libstrawberry-tagreader/tagreaderbase.cpp index c4de93881..af19b0eec 100644 --- a/ext/libstrawberry-tagreader/tagreaderbase.cpp +++ b/ext/libstrawberry-tagreader/tagreaderbase.cpp @@ -23,5 +23,5 @@ const std::string TagReaderBase::kEmbeddedCover = "(embedded)"; -TagReaderBase::TagReaderBase() {} -TagReaderBase::~TagReaderBase() {} +TagReaderBase::TagReaderBase() = default; +TagReaderBase::~TagReaderBase() = default; diff --git a/ext/libstrawberry-tagreader/tagreadertagparser.cpp b/ext/libstrawberry-tagreader/tagreadertagparser.cpp index befb51df8..1e251f7a8 100644 --- a/ext/libstrawberry-tagreader/tagreadertagparser.cpp +++ b/ext/libstrawberry-tagreader/tagreadertagparser.cpp @@ -43,9 +43,9 @@ #include "core/messagehandler.h" #include "core/timeconstants.h" -TagReaderTagParser::TagReaderTagParser() {} +TagReaderTagParser::TagReaderTagParser() = default; -TagReaderTagParser::~TagReaderTagParser() {} +TagReaderTagParser::~TagReaderTagParser() = default; bool TagReaderTagParser::IsMediaFile(const QString &filename) const {