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:
Andreas Buhr 2021-01-08 11:56:36 +01:00
parent 3d5f86e77d
commit d26da5fc09

View File

@ -235,7 +235,6 @@ public:
, eagerlyUpdating(false)
, isQQmlPropertyBinding(isQQmlPropertyBinding)
, vtable(vtable)
, inlineDependencyObservers() // Explicit initialization required because of union
, location(location)
, metaType(metaType)
{}