diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 11:34:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 15:25:56 +0200 |
commit | e9cca2f5e66604ec9bf38fccc6949c7d68a6010c (patch) | |
tree | 32d3e96a6210df36d135dd03df0f1541d40c0483 /i18nlangtag/source | |
parent | f7f7eb79bf62318188f77558c5c9cfbaeab9ccd3 (diff) |
i18nlangtag: 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: I6de6b84ebd177f494864d7de91e538fa5a64985c
Reviewed-on: https://gerrit.libreoffice.org/58058
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18nlangtag/source')
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index d46ff8bba324..fd3f1156c744 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -559,12 +559,6 @@ LanguageTag::LanguageTag( const rtl_Locale & rLocale ) convertFromRtlLocale(); } - -LanguageTag::~LanguageTag() -{ -} - - LanguageTag::ImplPtr LanguageTagImpl::registerOnTheFly( LanguageType nRegisterID ) { LanguageTag::ImplPtr pImpl; |