diff options
author | Volker Hilsheimer <[email protected]> | 2022-01-17 23:24:11 +0100 |
---|---|---|
committer | Volker Hilsheimer <[email protected]> | 2022-01-19 13:58:23 +0100 |
commit | ad4c0ac5fb1c9cd5bb79fd1050581dc6332d1ede (patch) | |
tree | 35fade50138b2aac83c58bcb8af0b41a2938bac2 /tests/baseline/shared/baselineprotocol.cpp | |
parent | 5cd35711a28d6d8579ab2eacc066570591e5ff5b (diff) |
Baseline test framework: follow rule of zero for PlatformInfo type
The compiler generated special functions are just fine.
Pick-to: 6.3 6.2
Change-Id: I64fba1fac59f55d2a82ab18e32c1a2b854df72f0
Reviewed-by: Eirik Aavitsland <[email protected]>
Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'tests/baseline/shared/baselineprotocol.cpp')
-rw-r--r-- | tests/baseline/shared/baselineprotocol.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/baseline/shared/baselineprotocol.cpp b/tests/baseline/shared/baselineprotocol.cpp index 9f4c3721fcc..ab6ced204a1 100644 --- a/tests/baseline/shared/baselineprotocol.cpp +++ b/tests/baseline/shared/baselineprotocol.cpp @@ -53,11 +53,6 @@ const QString PI_QtBuildMode(QLS("QtBuildMode")); const QString PI_GitCommit(QLS("GitCommit")); const QString PI_GitBranch(QLS("GitBranch")); -PlatformInfo::PlatformInfo() - : QMap<QString, QString>(), adHoc(true) -{ -} - PlatformInfo PlatformInfo::localHostInfo() { PlatformInfo pi; @@ -105,23 +100,6 @@ PlatformInfo PlatformInfo::localHostInfo() } -PlatformInfo::PlatformInfo(const PlatformInfo &other) - : QMap<QString, QString>(other) -{ - orides = other.orides; - adHoc = other.adHoc; -} - - -PlatformInfo &PlatformInfo::operator=(const PlatformInfo &other) -{ - QMap<QString, QString>::operator=(other); - orides = other.orides; - adHoc = other.adHoc; - return *this; -} - - void PlatformInfo::addOverride(const QString& key, const QString& value) { orides.append(key); |