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 /include/i18nlangtag | |
parent | idl: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9) (diff) | |
download | core-e9cca2f5e66604ec9bf38fccc6949c7d68a6010c.tar.gz core-e9cca2f5e66604ec9bf38fccc6949c7d68a6010c.zip |
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 'include/i18nlangtag')
-rw-r--r-- | include/i18nlangtag/languagetag.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index 1bab1806e959..9f3dc877d9de 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -107,8 +107,6 @@ public: */ explicit LanguageTag( const rtl_Locale & rLocale ); - ~LanguageTag(); - /** Obtain BCP 47 language tag. @param bResolveSystem |