mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
DREAMWEB: added operator= for segmentref
This commit is contained in:
committed by
Alyssa Milburn
parent
8ede458e77
commit
0946aa81bd
@@ -137,6 +137,13 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline SegmentRef& operator=(const SegmentRef &ref) {
|
||||
_context = ref._context;
|
||||
_value = ref._value;
|
||||
_segment = ref._segment;
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline uint8 &byte(unsigned index) {
|
||||
assert(_segment != 0);
|
||||
return _segment->byte(index);
|
||||
|
||||
Reference in New Issue
Block a user