From: Sérgio Martins Date: Sun, 19 Jul 2015 18:04:41 +0000 (+0100) Subject: qml: Remove unneeded copy-ctor and copy-assignment operator X-Git-Tag: v5.5.90+alpha1~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09461d5820f9e96f34c9f1e9cdf6b6072eb0e875;p=platform%2Fupstream%2Fqtdeclarative.git qml: Remove unneeded copy-ctor and copy-assignment operator It's passed by value all over the place, so make it trivially-copyable Change-Id: I6710529b3d9a70c94f02c9c3e505658817de0898 Reviewed-by: Lars Knoll --- diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 6d7135c..759c679 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -278,8 +278,6 @@ struct PropertyAttributes setConfigurable(!(f & Attr_NotConfigurable)); } } - PropertyAttributes(const PropertyAttributes &other) : m_all(other.m_all) {} - PropertyAttributes & operator=(const PropertyAttributes &other) { m_all = other.m_all; return *this; } void setType(Type t) { m_type = t; type_set = true; } Type type() const { return type_set ? (Type)m_type : Generic; }