diff options
| author | 2022-08-03 12:10:41 +0000 | |
|---|---|---|
| committer | 2022-08-03 12:10:41 +0000 | |
| commit | 9c8a44ef3bd7e0984eb9a232f498ba2e4f98f062 (patch) | |
| tree | 9cbd39b89e3265ba6534fc85000b81b1198ef827 | |
| parent | f6025139b6466df453adcd2151e7bb26747250d1 (diff) | |
| parent | a4a87f2ebd5be84f1e2cec5399a2686cda21e670 (diff) | |
Merge "Fix unqualified-std-cast-call compiler warning" am: 4e21d361e9 am: 44e215b536 am: a4a87f2ebd
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2173682
Change-Id: Ife19a74aeeed2d88196df58ba4ca484a9f33fff5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | libs/binder/tests/binderThroughputTest.cpp | 7 | ||||
| -rw-r--r-- | libs/binder/tests/schd-dbg.cpp | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libs/binder/tests/binderThroughputTest.cpp b/libs/binder/tests/binderThroughputTest.cpp index 3b1faa8c2f..cfaf2a987f 100644 --- a/libs/binder/tests/binderThroughputTest.cpp +++ b/libs/binder/tests/binderThroughputTest.cpp @@ -249,12 +249,13 @@ Pipe make_worker(int num, int iterations, int worker_count, int payload_size, bo pid_t pid = fork(); if (pid) { /* parent */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { /* child */ - worker_fx(num, worker_count, iterations, payload_size, cs_pair, move(get<1>(pipe_pair))); + worker_fx(num, worker_count, iterations, payload_size, cs_pair, + std::move(get<1>(pipe_pair))); /* never get here */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } diff --git a/libs/binder/tests/schd-dbg.cpp b/libs/binder/tests/schd-dbg.cpp index 56d958c6be..0035e4ee5a 100644 --- a/libs/binder/tests/schd-dbg.cpp +++ b/libs/binder/tests/schd-dbg.cpp @@ -398,14 +398,13 @@ Pipe make_process(int num, int iterations, int no_process, int payload_size) { pid_t pid = fork(); if (pid) { // parent - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { // child thread_dump(is_client(num) ? "client" : "server"); - worker_fx(num, no_process, iterations, payload_size, - move(get<1>(pipe_pair))); + worker_fx(num, no_process, iterations, payload_size, std::move(get<1>(pipe_pair))); // never get here - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } |