aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorD G Turner2017-01-14 08:26:29 +0000
committerD G Turner2017-01-14 08:26:29 +0000
commitd2dd942ad79df0c4ac9d841fb5b0919d260bb79c (patch)
treeac67c5906b04251b8d876bdbf716178be403e20e /engines/sci
parentaecafd473cbb0f7424567b5cac9738b56187aa48 (diff)
downloadscummvm-rg350-d2dd942ad79df0c4ac9d841fb5b0919d260bb79c.tar.gz
scummvm-rg350-d2dd942ad79df0c4ac9d841fb5b0919d260bb79c.tar.bz2
scummvm-rg350-d2dd942ad79df0c4ac9d841fb5b0919d260bb79c.zip
SCI: Fix Warnings about Copy Constructor Failing to Call Base Class.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/segment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h
index 7e2189ea68..1ec13176e4 100644
--- a/engines/sci/engine/segment.h
+++ b/engines/sci/engine/segment.h
@@ -433,7 +433,7 @@ public:
_size(0),
_data(nullptr) {}
- SciArray(const SciArray &array) {
+ SciArray(const SciArray &array) : Common::Serializable() {
_type = array._type;
_size = array._size;
_elementSize = array._elementSize;
@@ -972,7 +972,7 @@ public:
inline SciBitmap() : _data(nullptr), _dataSize(0), _gc(true) {}
- inline SciBitmap(const SciBitmap &other) {
+ inline SciBitmap(const SciBitmap &other) : Common::Serializable() {
_dataSize = other._dataSize;
_data = (byte *)malloc(other._dataSize);
memcpy(_data, other._data, other._dataSize);