dbaccess/source/core/inc/composertools.hxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 490838e438b5f6a049e6ff2ed2a89de9639585a4 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Jul 26 12:09:14 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Jul 26 20:42:07 2018 +0200 dbaccess: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9) ...by explicitly defaulting the copy/move functions (and, where needed in turn, also a default ctor) for classes that have a user-declared dtor that does nothing other than an implicitly-defined one would do, but needs to be user- declared because it is virtual and potentially serves as a key function to emit the vtable, or is non-public, etc. Change-Id: Ic07bf2a39ee18368d2d56b5bc6e666758367b7d7 Reviewed-on: https://gerrit.libreoffice.org/58074 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/dbaccess/source/core/inc/composertools.hxx b/dbaccess/source/core/inc/composertools.hxx index 91f790495948..d0bfdc3ff7d6 100644 --- a/dbaccess/source/core/inc/composertools.hxx +++ b/dbaccess/source/core/inc/composertools.hxx @@ -66,6 +66,11 @@ namespace dbaccess { } + TokenComposer(TokenComposer const &) = default; + TokenComposer(TokenComposer &&) = default; + TokenComposer & operator =(TokenComposer const &) = default; + TokenComposer & operator =(TokenComposer &&) = default; + void operator() (const OUString& lhs) { append(lhs); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits