diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 12:26:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 20:44:51 +0200 |
commit | de573ba8e67f165693e58e05d80756e5b55852e7 (patch) | |
tree | fc5cadea6b3ac0b73be0826406f776494a59d7c1 /include/o3tl | |
parent | fc053e04278aa4b466a1dec8b01c2e692a548a7a (diff) |
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@redhat.com>
Diffstat (limited to 'include/o3tl')
-rw-r--r-- | include/o3tl/array_view.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
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_; } |