[Scummvm-git-logs] scummvm master -> d7e5e5f99596d5f7bccfd27db5c8e7decc8778a6
csnover
csnover at users.noreply.github.com
Fri Jun 9 03:05:05 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d7e5e5f995 COMMON: Take immutable reference in SpanOwner copy assignment
Commit: d7e5e5f99596d5f7bccfd27db5c8e7decc8778a6
https://github.com/scummvm/scummvm/commit/d7e5e5f99596d5f7bccfd27db5c8e7decc8778a6
Author: Colin Snover (github.com at zetafleet.com)
Date: 2017-06-08T20:04:37-05:00
Commit Message:
COMMON: Take immutable reference in SpanOwner copy assignment
Thanks again to @waltervn.
Changed paths:
common/span.h
diff --git a/common/span.h b/common/span.h
index e0b1d13..31cb748 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;
}
More information about the Scummvm-git-logs
mailing list