Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Feb 5, 2024
1 parent 735a4de commit d82f7fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gui/xmlreportv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ static const QString VersionAttribute = "version";
static const QString ProductNameAttribute = "product-name";
static const QString VerboseAttribute = "verbose";

XmlReportV2::XmlReportV2(const QString &filename, const QString& productName) :
XmlReportV2::XmlReportV2(const QString &filename, QString productName) :
XmlReport(filename),
mProductName(productName),
mProductName(std::move(productName)),
mXmlReader(nullptr),
mXmlWriter(nullptr)
{}
Expand Down
2 changes: 1 addition & 1 deletion gui/xmlreportv2.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class QXmlStreamWriter;
*/
class XmlReportV2 : public XmlReport {
public:
explicit XmlReportV2(const QString &filename, const QString& productName);
explicit XmlReportV2(const QString &filename, QString productName);
~XmlReportV2() override;

/**
Expand Down

0 comments on commit d82f7fb

Please sign in to comment.