From patchwork Wed Mar 16 05:16:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 612 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:44:07 -0000 Delivered-To: patches@linaro.org Received: by 10.151.46.5 with SMTP id y5cs90967ybj; Tue, 15 Mar 2011 22:29:07 -0700 (PDT) Received: by 10.236.77.161 with SMTP id d21mr278625yhe.119.1300253347102; Tue, 15 Mar 2011 22:29:07 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by mx.google.com with ESMTP id 57si1126186yha.187.2011.03.15.22.29.06; Tue, 15 Mar 2011 22:29:07 -0700 (PDT) Received-SPF: neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: from epmmp1 (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LI400G81XVXD3D0@mailout3.samsung.com>; Wed, 16 Mar 2011 14:28:45 +0900 (KST) Received: from Linaro.sisodomain.com ([107.108.215.143]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LI400DA3XVI9T@mmp1.samsung.com>; Wed, 16 Mar 2011 14:28:45 +0900 (KST) Date: Wed, 16 Mar 2011 10:46:35 +0530 From: Sachin Kamat Subject: [PATCH-Android] [android/frameworks/base] Modified to eliminate build errors using GCC 4.5/4.6. In-reply-to: <1300252598-1653-1-git-send-email-sachin.kamat@linaro.org> To: linaro-dev@lists.linaro.org Cc: patches@linaro.org Message-id: <1300252598-1653-7-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.1 Content-transfer-encoding: 7BIT References: <1300252598-1653-1-git-send-email-sachin.kamat@linaro.org> Signed-off-by: Sachin Kamat Change-Id: Id31f863427cd3a7d5d5abced71de78a76ae3d028 --- libs/utils/RefBase.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libs/utils/RefBase.cpp b/libs/utils/RefBase.cpp index 0bd1af4..d28b751 100644 --- a/libs/utils/RefBase.cpp +++ b/libs/utils/RefBase.cpp @@ -480,7 +480,7 @@ void RefBase::weakref_type::printRefs() const void RefBase::weakref_type::trackMe(bool enable, bool retain) { - static_cast(this)->trackMe(enable, retain); + static_cast(this)->trackMe(enable, retain); } RefBase::weakref_type* RefBase::createWeak(const void* id) const