aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/draci.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-11-16 20:29:41 +0100
committerJohannes Schickel2011-11-16 20:31:22 +0100
commit012367312d4cd92d59ddebf2460853f6947f1dc4 (patch)
treed08dae5d57606f2de7d9eafa6fe2887bd5d3f91e /engines/draci/draci.cpp
parentc5ff6b431b960f599aee562baa1a15e0edcec451 (diff)
downloadscummvm-rg350-012367312d4cd92d59ddebf2460853f6947f1dc4.tar.gz
scummvm-rg350-012367312d4cd92d59ddebf2460853f6947f1dc4.tar.bz2
scummvm-rg350-012367312d4cd92d59ddebf2460853f6947f1dc4.zip
DRACI: Update comment regarding SharedPtr/ScopedPtr.
Diffstat (limited to 'engines/draci/draci.cpp')
-rw-r--r--engines/draci/draci.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 67e043632e..6aa8477887 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -359,10 +359,11 @@ void DraciEngine::handleEvents() {
DraciEngine::~DraciEngine() {
// Dispose your resources here
- // If the common library supported STL's scoped_ptr<>, then wrapping
+ // If the common library supported Boost's scoped_ptr<>, then wrapping
// all the following pointers and many more would be appropriate. So
// far, there is only SharedPtr, which I feel being an overkill for
// easy deallocation.
+ // TODO: We have ScopedPtr nowadays. Maybe should adapt this code then?
delete _smallFont;
delete _bigFont;