Remove outdated comment and unnecessary initialization call
In construction of QPropertyBindingPrivate was an initialization of inlineDependencyObservers with a comment that this is necessary because of a union. But inlineDependencyObservers is not inside a union. The comment is outdated and the explicit initialization superfluous. This patch removes it. Change-Id: I06544a816533c41af8fc5da3ef44ddd7c18ca86e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
3d5f86e77d
commit
d26da5fc09
@ -235,7 +235,6 @@ public:
|
|||||||
, eagerlyUpdating(false)
|
, eagerlyUpdating(false)
|
||||||
, isQQmlPropertyBinding(isQQmlPropertyBinding)
|
, isQQmlPropertyBinding(isQQmlPropertyBinding)
|
||||||
, vtable(vtable)
|
, vtable(vtable)
|
||||||
, inlineDependencyObservers() // Explicit initialization required because of union
|
|
||||||
, location(location)
|
, location(location)
|
||||||
, metaType(metaType)
|
, metaType(metaType)
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user