forked from qt-creator/qt-creator
QmlJS: Fix inconsistent copy ctor/operator=
Detected by GCC9. Change-Id: Ieab7c13c6d66b99cc679c3ac5d4a3da67bcd7767 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
5cf087ac5d
commit
c8f0d3f008
@@ -1038,6 +1038,7 @@ class QMLJS_EXPORT Import {
|
||||
public:
|
||||
Import();
|
||||
Import(const Import &other);
|
||||
Import &operator=(const Import &other);
|
||||
|
||||
// const!
|
||||
ObjectValue *object;
|
||||
|
||||
Reference in New Issue
Block a user