applied some clang modernize (#2435)

This commit is contained in:
borgmanJeremy
2022-02-16 21:15:25 -06:00
committed by GitHub
parent 53698bca6f
commit 424b7fba37
24 changed files with 82 additions and 75 deletions

View File

@@ -3,12 +3,13 @@
#include "commandargument.h"
CommandArgument::CommandArgument() {}
#include <utility>
CommandArgument::CommandArgument(const QString& name,
const QString& description)
: m_name(name)
, m_description(description)
CommandArgument::CommandArgument() = default;
CommandArgument::CommandArgument(QString name, QString description)
: m_name(std::move(name))
, m_description(std::move(description))
{}
void CommandArgument::setName(const QString& name)