diff options
author | D G Turner | 2017-01-14 08:26:29 +0000 |
---|---|---|
committer | D G Turner | 2017-01-14 08:26:29 +0000 |
commit | d2dd942ad79df0c4ac9d841fb5b0919d260bb79c (patch) | |
tree | ac67c5906b04251b8d876bdbf716178be403e20e /engines/sci | |
parent | aecafd473cbb0f7424567b5cac9738b56187aa48 (diff) | |
download | scummvm-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.h | 4 |
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); |