forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
afa4b3eeb0
commit
7a5d8f4aab
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user