aboutsummaryrefslogtreecommitdiff
path: root/common/binder_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/binder_utils.h')
-rw-r--r--common/binder_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/binder_utils.h b/common/binder_utils.h
index 3aa5eda..2764aa6 100644
--- a/common/binder_utils.h
+++ b/common/binder_utils.h
@@ -41,7 +41,8 @@ android::binder::Status ToStatus(bool success, weave::ErrorPtr* error);
// Converts a binder status code to a Brillo error object. Returns true if the
// status was isOk(), otherwise returns false and provides error information
// in the |error| object.
-bool StatusToError(android::binder::Status status, brillo::ErrorPtr* error);
+bool StatusToError(const android::binder::Status& status,
+ brillo::ErrorPtr* error);
// Converts binder's UTF16 string into a regular UTF8-encoded standard string.
inline std::string ToString(const android::String16& value) {