diff options
| author | levlam <levlam@telegram.org> | 2025-03-20 15:57:03 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-03-20 15:57:03 +0300 |
| commit | 9de10cee4f0a6963a272480d658ca87319093662 (patch) | |
| tree | c582d250c61f057d1627c29f8e308d138f030e5b /tdutils | |
| parent | 93cc28b5d770007ec8b0879ee93020757738aa9e (diff) | |
Fix SpanImpl::operator=.
Diffstat (limited to 'tdutils')
| -rw-r--r-- | tdutils/td/utils/Span.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tdutils/td/utils/Span.h b/tdutils/td/utils/Span.h index 3686885b1..f7102140c 100644 --- a/tdutils/td/utils/Span.h +++ b/tdutils/td/utils/Span.h @@ -51,6 +51,7 @@ class SpanImpl { SpanImpl &operator=(const SpanImpl<T, OtherInnerT> &other) { SpanImpl copy{other}; *this = copy; + return *this; } template <class OtherInnerT> bool operator==(const SpanImpl<T, OtherInnerT> &other) const { |
