forked from qt-creator/qt-creator
QmlDesigner: use initilizer_lists for pairs
Change-Id: I3a1ef67d8af255604494695807331576540b8afa Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -253,7 +253,7 @@ bool ObjectNodeInstance::isAnchoredByChildren() const
|
||||
|
||||
QPair<PropertyName, ServerNodeInstance> ObjectNodeInstance::anchor(const PropertyName &/*name*/) const
|
||||
{
|
||||
return qMakePair(PropertyName(), ServerNodeInstance());
|
||||
return {PropertyName(), ServerNodeInstance()};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user