aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/span.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/span.h b/common/span.h
index e0b1d139ca..31cb7487a7 100644
--- a/common/span.h
+++ b/common/span.h
@@ -942,7 +942,7 @@ public:
_span.allocateFromSpan(other._span);
}
- inline SpanOwner &operator=(SpanOwner &other) {
+ inline SpanOwner &operator=(const SpanOwner &other) {
if (this == &other) {
return *this;
}