diff options
Diffstat (limited to 'src/libs/qmljs/qmljsinterpreter.cpp')
-rw-r--r-- | src/libs/qmljs/qmljsinterpreter.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/qmljs/qmljsinterpreter.cpp b/src/libs/qmljs/qmljsinterpreter.cpp index 03083501b6..91f195f8fc 100644 --- a/src/libs/qmljs/qmljsinterpreter.cpp +++ b/src/libs/qmljs/qmljsinterpreter.cpp @@ -2340,6 +2340,16 @@ Import::Import(const Import &other) valid(other.valid), used(false) { } +Import &Import::operator=(const Import &other) +{ + object = other.object; + info = other.info; + libraryPath = other.libraryPath; + valid = other.valid; + used = false; + return *this; +} + TypeScope::TypeScope(const Imports *imports, ValueOwner *valueOwner) : ObjectValue(valueOwner) , m_imports(imports) |