diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-08-01 20:23:10 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-01 20:23:10 +0000 |
commit | 4c4fa90462afc8b187a65238f26d9b66db66e428 (patch) | |
tree | 06f6b305245ef7a0c4155c132e00d90f7051a9a4 /adb/file_sync_client.cpp | |
parent | 740c4788a0669989358f22fc822e1c1d206a4f9f (diff) | |
parent | 4efbce14b5b9075f0c190feb6603464f6207a24e (diff) |
Merge \"Fix clang-tidy performance warnings in syste/core.\"
am: 4efbce14b5
Change-Id: I84f6b0134fae6e9f40710f243f4825e3f31fa15f
Diffstat (limited to 'adb/file_sync_client.cpp')
-rw-r--r-- | adb/file_sync_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 651e8ca97b..6302eb74fd 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp @@ -433,7 +433,7 @@ class SyncConnection { typedef void (sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char* name); static bool sync_ls(SyncConnection& sc, const char* path, - std::function<sync_ls_cb> func) { + const std::function<sync_ls_cb>& func) { if (!sc.SendRequest(ID_LIST, path)) return false; while (true) { |