mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
COMMON: Take immutable reference in SpanOwner copy assignment
Thanks again to @waltervn.
This commit is contained in:
parent
58c83dcd14
commit
d7e5e5f995
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user