CMake: Fix inconsistent copy ctor/operator=

Detected by GCC9.

Looks like inCMakeCache was left out by mistake in df62701801.

Change-Id: I231d0d3e102edb95b657aef42c3f2f2f834514a0
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2019-05-06 23:57:41 +03:00
committed by Orgad Shaneh
parent afa4b3eeb0
commit 7a5d8f4aab
4 changed files with 2 additions and 7 deletions

View File

@@ -42,12 +42,6 @@ namespace CMakeProjectManager {
CMakeConfigItem::CMakeConfigItem() = default;
CMakeConfigItem::CMakeConfigItem(const CMakeConfigItem &other) : // What about inCMakeCache?
key(other.key), type(other.type), isAdvanced(other.isAdvanced),
isUnset(other.isUnset), value(other.value),
documentation(other.documentation), values(other.values)
{}
CMakeConfigItem::CMakeConfigItem(const QByteArray &k, Type t,
const QByteArray &d, const QByteArray &v) :
key(k), type(t), value(v), documentation(d)