include/o3tl/array_view.hxx | 7 ------- 1 file changed, 7 deletions(-)
New commits: commit de573ba8e67f165693e58e05d80756e5b55852e7 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Jul 26 12:26:24 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Jul 26 20:44:51 2018 +0200 o3tl: 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 Change-Id: If3430e23fff7bb0da12ae20579696869bdf9b3d8 Reviewed-on: https://gerrit.libreoffice.org/58082 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/o3tl/array_view.hxx b/include/o3tl/array_view.hxx index 3630955a927b..563821a46f6d 100644 --- a/include/o3tl/array_view.hxx +++ b/include/o3tl/array_view.hxx @@ -86,13 +86,6 @@ public: return *this; } - array_view& operator=(array_view const & other) - { - data_ = other.data_; - size_ = other.size_; - return *this; - } - constexpr bool empty() const noexcept { return size_ == 0; } constexpr iterator begin() const noexcept { return data_; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits