COMMON: Take immutable reference in SpanOwner copy assignment

Thanks again to @waltervn.
This commit is contained in:
Colin Snover 2017-06-08 11:48:30 -05:00
parent 58c83dcd14
commit d7e5e5f995

View File

@ -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;
}