summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/span.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/libcamera/span.h b/include/libcamera/span.h
index 738af6ac..a53a80b8 100644
--- a/include/libcamera/span.h
+++ b/include/libcamera/span.h
@@ -188,12 +188,7 @@ public:
}
constexpr Span(const Span &other) noexcept = default;
-
- constexpr Span &operator=(const Span &other) noexcept
- {
- data_ = other.data_;
- return *this;
- }
+ constexpr Span &operator=(const Span &other) noexcept = default;
constexpr iterator begin() const { return data(); }
constexpr const_iterator cbegin() const { return begin(); }