From 09461d5820f9e96f34c9f1e9cdf6b6072eb0e875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Martins?= Date: Sun, 19 Jul 2015 19:04:41 +0100 Subject: 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 --- src/qml/jsruntime/qv4global_p.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/qml/jsruntime/qv4global_p.h') 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; } -- cgit v1.2.3