From d26da5fc095aa45d0589113706c1cc0906f7ce41 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Fri, 8 Jan 2021 11:56:36 +0100 Subject: [PATCH] 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 --- src/corelib/kernel/qproperty_p.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/kernel/qproperty_p.h b/src/corelib/kernel/qproperty_p.h index 1574cc263bd..8d4d951cc64 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) {}