summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer/binaryformat/tst_binaryformat.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2021-03-05 10:01:42 +0200
committerKatja Marttila <katja.marttila@qt.io>2021-03-09 13:23:38 +0200
commitabd97626ac2d50e54650a7256b48b7bbc1b2769e (patch)
tree533d2403a5a586a28c5c3e1e473a464fa124d699 /tests/auto/installer/binaryformat/tst_binaryformat.cpp
parent644df1f513a0e2c813d72fb028d4d058c3b9a9ba (diff)
Cppcheck: Add explicit and override keywords
Change-Id: Ia8305652afdf29cbc88328b76f5156187aa54dba Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'tests/auto/installer/binaryformat/tst_binaryformat.cpp')
-rw-r--r--tests/auto/installer/binaryformat/tst_binaryformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/installer/binaryformat/tst_binaryformat.cpp b/tests/auto/installer/binaryformat/tst_binaryformat.cpp
index c9cd2b00f..7e0f5ed24 100644
--- a/tests/auto/installer/binaryformat/tst_binaryformat.cpp
+++ b/tests/auto/installer/binaryformat/tst_binaryformat.cpp
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Installer Framework.
@@ -51,7 +51,7 @@ struct Layout : public QInstaller::BinaryLayout
class TestOperation : public KDUpdater::UpdateOperation
{
public:
- TestOperation(const QString &name)
+ explicit TestOperation(const QString &name)
: KDUpdater::UpdateOperation(nullptr)
{ setName(name); }