aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-11-15 16:25:12 -0600
committerEugene Sandulenko2017-11-18 22:35:12 +0100
commitd2249a1bed00bae4a7e0c78d66df0a04f927b673 (patch)
tree4aba1c75b8516e5e24208174d0c786cff6836f4a /engines
parentbb26bf7994420a8af3fd5e1c3a1b174448aefc5c (diff)
downloadscummvm-rg350-d2249a1bed00bae4a7e0c78d66df0a04f927b673.tar.gz
scummvm-rg350-d2249a1bed00bae4a7e0c78d66df0a04f927b673.tar.bz2
scummvm-rg350-d2249a1bed00bae4a7e0c78d66df0a04f927b673.zip
FULLPIPE: Annotate ownership rule of MfcArchive::readClass
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/fullpipe/utils.h b/engines/fullpipe/utils.h
index 8966ceb8ba..6ffafc54bc 100644
--- a/engines/fullpipe/utils.h
+++ b/engines/fullpipe/utils.h
@@ -59,6 +59,7 @@ public:
double readDouble();
CObject *parseClass(bool *isCopyReturned);
+ /** ownership of returned object is passed to caller */
template <typename T>
T *readClass() {
CObject *obj = readBaseClass();