[Libreoffice-commits] core.git: include/o3tl
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Jul 26 18:45:24 UTC 2018
include/o3tl/array_view.hxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit de573ba8e67f165693e58e05d80756e5b55852e7
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 12:26:24 2018 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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_; }
More information about the Libreoffice-commits
mailing list