aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMax Horn2009-10-18 19:41:59 +0000
committerMax Horn2009-10-18 19:41:59 +0000
commit2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a (patch)
tree3aac193c0b0419c50f72690bdfa77016ea413464 /graphics
parent64861f1e40ee5084bcbfa3e5bd3adbe746d7dfc5 (diff)
downloadscummvm-rg350-2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a.tar.gz
scummvm-rg350-2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a.tar.bz2
scummvm-rg350-2bbf708deaf2d60c70786ec1ef2f9ea0d1f0bd4a.zip
Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/coktelvideo/coktelvideo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp
index e92e470cbe..e014af58e5 100644
--- a/graphics/video/coktelvideo/coktelvideo.cpp
+++ b/graphics/video/coktelvideo/coktelvideo.cpp
@@ -2311,7 +2311,7 @@ Common::MemoryReadStream *Vmd::getExtraData(const char *fileName) {
}
Common::MemoryReadStream *stream =
- new Common::MemoryReadStream(data, _extraData[i].realSize, true);
+ new Common::MemoryReadStream(data, _extraData[i].realSize, Common::DisposeAfterUse::YES);
return stream;
}