Use default
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
|
||||
#include "settingsprovider.h"
|
||||
|
||||
SettingsProvider::SettingsProvider() {}
|
||||
SettingsProvider::SettingsProvider() = default;
|
||||
|
||||
DefaultSettingsProvider::DefaultSettingsProvider() {}
|
||||
DefaultSettingsProvider::DefaultSettingsProvider() = default;
|
||||
|
||||
void DefaultSettingsProvider::set_group(const char *group) {
|
||||
while (!backend_.group().isEmpty()) backend_.endGroup();
|
||||
|
||||
@@ -275,8 +275,8 @@ Song::Private::Private(Song::Source source)
|
||||
{}
|
||||
|
||||
Song::Song(Song::Source source) : d(new Private(source)) {}
|
||||
Song::Song(const Song &other) : d(other.d) {}
|
||||
Song::~Song() {}
|
||||
Song::Song(const Song &other) = default;
|
||||
Song::~Song() = default;
|
||||
|
||||
Song &Song::operator=(const Song &other) {
|
||||
d = other.d;
|
||||
|
||||
Reference in New Issue
Block a user