diff --git a/src/libs/modelinglib/qmt/infrastructure/handle.h b/src/libs/modelinglib/qmt/infrastructure/handle.h index 0c28c3f2287..b7333a11464 100644 --- a/src/libs/modelinglib/qmt/infrastructure/handle.h +++ b/src/libs/modelinglib/qmt/infrastructure/handle.h @@ -41,6 +41,8 @@ public: template Handle(const Handle &rhs) : m_uid(rhs.uid()), m_target(rhs.target()) { } + Handle &operator=(const Handle &) = default; + bool isNull() const { return !m_uid.isValid(); } bool hasTarget() const { return m_target != nullptr; } Uid uid() const { return m_uid; }