diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2015-07-19 19:04:41 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-07-20 19:30:33 +0000 |
commit | 09461d5820f9e96f34c9f1e9cdf6b6072eb0e875 (patch) | |
tree | 74ebd70982dc827e86074b83feba40331198b5f8 /src/qml/jsruntime/qv4global_p.h | |
parent | 51dbd978eeac258fbc34ecb06d990efb90a58866 (diff) |
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 <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4global_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 6d7135cbaa..759c6795e2 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; } |