diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2021-01-08 11:56:36 +0100 |
---|---|---|
committer | Andreas Buhr <andreas.buhr@qt.io> | 2021-01-09 10:03:21 +0100 |
commit | d26da5fc095aa45d0589113706c1cc0906f7ce41 (patch) | |
tree | a73e9d4fe023caa37db875f7dd52b5434b068d34 /src/corelib/kernel | |
parent | 3d5f86e77d0740d72cd8922c7b1d4f8cde460ee1 (diff) |
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>
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qproperty_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/kernel/qproperty_p.h b/src/corelib/kernel/qproperty_p.h index 1574cc263b..8d4d951cc6 100644 --- a/src/corelib/kernel/qproperty_p.h +++ b/src/corelib/kernel/qproperty_p.h @@ -235,7 +235,6 @@ public: , eagerlyUpdating(false) , isQQmlPropertyBinding(isQQmlPropertyBinding) , vtable(vtable) - , inlineDependencyObservers() // Explicit initialization required because of union , location(location) , metaType(metaType) {} |