Fix code style and errors

This commit is contained in:
Jonas Kvinge
2019-04-08 18:46:11 +02:00
parent 0ce5b50950
commit 9be161d165
58 changed files with 146 additions and 146 deletions

View File

@@ -86,7 +86,7 @@ public:
class SkipReader : public Reader
{
public:
SkipReader(unsigned int size) : m_size(size)
explicit SkipReader(unsigned int size) : m_size(size)
{
}
@@ -110,7 +110,7 @@ template<typename T>
class ValueReader : public Reader
{
public:
ValueReader(T &value) : value(value)
explicit ValueReader(T &value) : value(value)
{
}
@@ -151,7 +151,7 @@ private:
class ByteReader : public ValueReader<unsigned char>
{
public:
ByteReader(unsigned char &byte) : ValueReader<unsigned char>(byte) {}
explicit ByteReader(unsigned char &byte) : ValueReader<unsigned char>(byte) {}
unsigned int read(TagLib::File &file, unsigned int limit)
{
@@ -346,7 +346,7 @@ private:
class XM::File::FilePrivate
{
public:
FilePrivate(AudioProperties::ReadStyle propertiesStyle)
explicit FilePrivate(AudioProperties::ReadStyle propertiesStyle)
: tag(), properties(propertiesStyle)
{
}