From 012367312d4cd92d59ddebf2460853f6947f1dc4 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 16 Nov 2011 20:29:41 +0100 Subject: DRACI: Update comment regarding SharedPtr/ScopedPtr. --- engines/draci/draci.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/draci') 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; -- cgit v1.2.3