Clean up code (#3431)

* Empty destructors are replaced with default destructors
* A few loop variables made into const references to avoid copies
* Add missing `override` spec for some `Command::execute` methods
This commit is contained in:
James Ring
2019-08-19 12:19:32 -07:00
committed by Janek Bevendorff
parent 7cbcea18e9
commit b9e1088f74
27 changed files with 12 additions and 78 deletions

View File

@@ -54,10 +54,6 @@ Merge::Merge()
positionalArguments.append({QString("database2"), QObject::tr("Path of the database to merge from."), QString("")});
}
Merge::~Merge()
{
}
int Merge::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{
TextStream outputTextStream(parser->isSet(Command::QuietOption) ? Utils::DEVNULL : Utils::STDOUT,