From f1b2f1acd1f3c62b765398f9fa4d2d1da3f295cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Abecasis?= Date: Tue, 27 Mar 2012 15:20:42 +0200 Subject: Fix comments out of touch with reality Change-Id: Id060626b0bb6c28f4e67c9b3c7a0fbc456f7dcc6 Reviewed-by: Oswald Buddenhagen --- src/corelib/kernel/qtranslator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 3e77465037..bda1ab00ae 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -235,14 +235,14 @@ public: messageArray(0), offsetArray(0), contextArray(0), numerusRulesArray(0), messageLength(0), offsetLength(0), contextLength(0), numerusRulesLength(0) {} - // for mmap'ed files, this is what needs to be unmapped. #if defined(QT_USE_MMAP) bool used_mmap : 1; #endif - char *unmapPointer; + char *unmapPointer; // owned memory (mmap or new) quint32 unmapLength; - // for squeezed but non-file data, this is what needs to be deleted + // Pointers and offsets into unmapPointer[unmapLength] array, or user + // provided data array const uchar *messageArray; const uchar *offsetArray; const uchar *contextArray; -- cgit v1.2.3