include/cppunit/extensions/TestSuiteBuilderContext.h | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 4f5cd3b486afb9c7be1903252b4ae3787137a454 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Aug 7 16:24:49 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Sep 26 16:49:15 2018 +0200 Avoid GCC 9 -Wdeprecated-copy ...when an implicitly-defined copy function is used that may in a future C++ standard be defined as deleted because of the user-declared destructor. Just declare all the four copy/move functions as defaulted for a consistent interface. (Originally addressed with LibreOffice commit <https://gerrit.libreoffice.org/58042> "external/cppunit: silence -Werror=deprecated-copy (GCC trunk towards GCC 9)".) Change-Id: Ie38ac3a613e6fbc2e4045cb5b14c3f6d167c79c5 Reviewed-on: https://gerrit.libreoffice.org/58690 Reviewed-by: Stephan Bergmann <sberg...@redhat.com> Tested-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/cppunit/extensions/TestSuiteBuilderContext.h b/include/cppunit/extensions/TestSuiteBuilderContext.h index 72bfa70..12d157e 100644 --- a/include/cppunit/extensions/TestSuiteBuilderContext.h +++ b/include/cppunit/extensions/TestSuiteBuilderContext.h @@ -40,6 +40,11 @@ public: virtual ~TestSuiteBuilderContextBase(); + TestSuiteBuilderContextBase(TestSuiteBuilderContextBase const &) = default; + TestSuiteBuilderContextBase(TestSuiteBuilderContextBase &&) = default; + TestSuiteBuilderContextBase & operator =(TestSuiteBuilderContextBase const &) = default; + TestSuiteBuilderContextBase & operator =(TestSuiteBuilderContextBase &&) = default; + /*! \brief Adds a test to the fixture suite. * * \param test Test to add to the fixture suite. Must not be \c NULL. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits