diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-08-12 00:30:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-17 07:43:01 +0200 |
commit | 7315f325ff7ada3d6bd85a471058fdaeaff8cdb0 (patch) | |
tree | ef1505a58c8684a5430999e4f53a8a7d6b9f19ae /configmgr/source/propertynode.cxx | |
parent | 83288332f7ced698610739419989c464256f1c4d (diff) |
use more default copy ctors
if ctor should be private or protected explicitly default them.
boost::optional has copy ctors, so use them.
Change-Id: If1855626b297e739afef0dc5ad57958f7ad199bc
Reviewed-on: https://gerrit.libreoffice.org/42363
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr/source/propertynode.cxx')
-rw-r--r-- | configmgr/source/propertynode.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/configmgr/source/propertynode.cxx b/configmgr/source/propertynode.cxx index 6dcc1bad18b4..39ddccfa11ff 100644 --- a/configmgr/source/propertynode.cxx +++ b/configmgr/source/propertynode.cxx @@ -81,13 +81,6 @@ void PropertyNode::setExternal(int layer, OUString const & descriptor) { externalDescriptor_ = descriptor; } - -PropertyNode::PropertyNode(PropertyNode const & other): - Node(other), staticType_(other.staticType_), nillable_(other.nillable_), - extension_(other.extension_), externalDescriptor_(other.externalDescriptor_), - value_(other.value_) -{} - PropertyNode::~PropertyNode() {} Node::Kind PropertyNode::kind() const { |