diff options
author | 2020-11-13 17:16:48 +0900 | |
---|---|---|
committer | 2020-11-16 19:43:52 +0900 | |
commit | 384328e986dd3684b00fd5d6bfd04a3de77a2c2e (patch) | |
tree | 25b254be1c5dc259125aecbef223a35d0a10e6bb /libs/binder/IPCThreadState.cpp | |
parent | 270193009fc7ed37cd95b672a2a22b83957bb006 (diff) |
binder: fix performance-unnecessary-value-param
Bug: 162909698
Test: m libbinder
Change-Id: I91afd69d482984138a52dda39bc68056d62a442e
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<BBinder> the_context_object; -void IPCThreadState::setTheContextObject(sp<BBinder> obj) +void IPCThreadState::setTheContextObject(const sp<BBinder>& obj) { the_context_object = obj; } |