Remove redundant initialization

This commit is contained in:
Jonas Kvinge
2020-06-15 00:11:52 +02:00
parent 13b60351a6
commit 56caab4461
21 changed files with 32 additions and 38 deletions

View File

@@ -58,7 +58,7 @@ ByteVectorList ByteVectorList::split(const ByteVector &v, const ByteVector &patt
// public members
////////////////////////////////////////////////////////////////////////////////
ByteVectorList::ByteVectorList() : List<ByteVector>(), d(nullptr) {}
ByteVectorList::ByteVectorList() : d(nullptr) {}
ByteVectorList::~ByteVectorList() {}

View File

@@ -28,7 +28,7 @@
using namespace Strawberry_TagLib::TagLib;
PropertyMap::PropertyMap() : SimplePropertyMap() {}
PropertyMap::PropertyMap() {}
PropertyMap::PropertyMap(const SimplePropertyMap &m) {

View File

@@ -145,7 +145,7 @@ namespace TagLib {
class String::StringPrivate : public RefCounter {
public:
StringPrivate() : RefCounter() {}
StringPrivate() {}
/*!
* Stores string in UTF-16. The byte order depends on the CPU endian.

View File

@@ -54,13 +54,13 @@ StringList StringList::split(const String &s, const String &pattern) {
// public members
////////////////////////////////////////////////////////////////////////////////
StringList::StringList() : List<String>(), d(nullptr) {}
StringList::StringList() : d(nullptr) {}
StringList::StringList(const String &s) : List<String>(), d(nullptr) {
StringList::StringList(const String &s) : d(nullptr) {
append(s);
}
StringList::StringList(const ByteVectorList &bl, String::Type t) : List<String>() {
StringList::StringList(const ByteVectorList &bl, String::Type t) {
ByteVectorList::ConstIterator i = bl.begin();
for (; i != bl.end(); i++) {