From 2b4b94e8f0b7a8484ce70c701580b5a20fd0d14d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 26 Jul 2018 11:38:32 +0200 Subject: jvmfwk: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9) ...by removing explicitly user-provided functions that do the same as their implicitly-defined counterparts, but may prevent implicitly declared copy functions from being defined as non-deleted in the future. (Even if a dtor was declared non-inline in an include file, the apparently-used implicitly-defined copy functions are already inline, so why bother with a non-inline dtor.) Change-Id: I1330a9fd4fc7f8fe8525b3ea02f9edb9e88e6638 Reviewed-on: https://gerrit.libreoffice.org/58059 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- jvmfwk/inc/elements.hxx | 1 - jvmfwk/source/elements.cxx | 4 ---- 2 files changed, 5 deletions(-) (limited to 'jvmfwk') diff --git a/jvmfwk/inc/elements.hxx b/jvmfwk/inc/elements.hxx index eb174a4be3e9..5b540c567717 100644 --- a/jvmfwk/inc/elements.hxx +++ b/jvmfwk/inc/elements.hxx @@ -58,7 +58,6 @@ class CNodeJavaInfo { public: CNodeJavaInfo(); - ~CNodeJavaInfo(); /** if true, then javaInfo is empty. When writeToNode is called then all child elements are deleted. diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx index ff083373f553..24c60e8379c8 100644 --- a/jvmfwk/source/elements.cxx +++ b/jvmfwk/source/elements.cxx @@ -694,10 +694,6 @@ CNodeJavaInfo::CNodeJavaInfo() : { } -CNodeJavaInfo::~CNodeJavaInfo() -{ -} - void CNodeJavaInfo::loadFromNode(xmlDoc * pDoc, xmlNode * pJavaInfo) { OString sExcMsg("[Java framework] Error in function NodeJavaInfo::loadFromNode " -- cgit