QUntypedPropertyBinding::QUntypedPropertyBinding: use member initializer list
No need to default initialize the std::function and source location. Change-Id: I7d840376b16e7257386a4787dd06b7956fe37576 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
901b2975dd
commit
f2f5e962b6
@ -142,8 +142,8 @@ QUntypedPropertyBinding::QUntypedPropertyBinding() = default;
|
||||
|
||||
QUntypedPropertyBinding::QUntypedPropertyBinding(QMetaType metaType, QUntypedPropertyBinding::BindingEvaluationFunction function,
|
||||
const QPropertyBindingSourceLocation &location)
|
||||
: d(new QPropertyBindingPrivate(metaType, std::move(function), std::move(location)))
|
||||
{
|
||||
d = new QPropertyBindingPrivate(metaType, std::move(function), std::move(location));
|
||||
}
|
||||
|
||||
QUntypedPropertyBinding::QUntypedPropertyBinding(QUntypedPropertyBinding &&other)
|
||||
|
Loading…
Reference in New Issue
Block a user