From 384328e986dd3684b00fd5d6bfd04a3de77a2c2e Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Fri, 13 Nov 2020 17:16:48 +0900 Subject: binder: fix performance-unnecessary-value-param Bug: 162909698 Test: m libbinder Change-Id: I91afd69d482984138a52dda39bc68056d62a442e --- libs/binder/IPCThreadState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/binder/IPCThreadState.cpp') diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index 28ce935be1..c5835c614a 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -1077,7 +1077,7 @@ status_t IPCThreadState::writeTransactionData(int32_t cmd, uint32_t binderFlags, sp the_context_object; -void IPCThreadState::setTheContextObject(sp obj) +void IPCThreadState::setTheContextObject(const sp& obj) { the_context_object = obj; } -- cgit v1.2.3-59-g8ed1b