clang-tidy: use = default (#7999)

This commit is contained in:
Rosen Penev
2023-01-29 12:47:13 -08:00
committed by GitHub
parent e1fbed0e25
commit 52af8a5e2a
70 changed files with 72 additions and 216 deletions

View File

@@ -29,9 +29,7 @@ AddGroup::AddGroup()
positionalArguments.append({QString("group"), QObject::tr("Path of the group to add."), QString("")});
}
AddGroup::~AddGroup()
{
}
AddGroup::~AddGroup() = default;
int AddGroup::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{

View File

@@ -103,9 +103,7 @@ Command::Command()
options.append(Command::QuietOption);
}
Command::~Command()
{
}
Command::~Command() = default;
QString Command::getDescriptionLine()
{

View File

@@ -30,9 +30,7 @@ Move::Move()
positionalArguments.append({QString("group"), QObject::tr("Path of the destination group."), QString("")});
}
Move::~Move()
{
}
Move::~Move() = default;
int Move::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{

View File

@@ -30,9 +30,7 @@ RemoveGroup::RemoveGroup()
positionalArguments.append({QString("group"), QObject::tr("Path of the group to remove."), QString("")});
}
RemoveGroup::~RemoveGroup()
{
}
RemoveGroup::~RemoveGroup() = default;
int RemoveGroup::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{