diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:23:27 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:23:27 +0000 |
commit | 5457e092acdafbd96e120d56ce496e939850d84e (patch) | |
tree | a75ad047780c6d0b539c4d462af4cbe40ff4a6c1 /vts/performance/Benchmark_throughput.cpp | |
parent | b857b7a7f8906bfdfd0d4e372f9958ebcf1be6ac (diff) | |
parent | 1b6ff55c18b2fcfa6fa1ad2dcc2003b2252a739b (diff) | |
download | libhwbinder-5457e092acdafbd96e120d56ce496e939850d84e.tar.gz |
Snap for 10453563 from 1b6ff55c18b2fcfa6fa1ad2dcc2003b2252a739b to mainline-uwb-releaseaml_uwb_341710010aml_uwb_341513070aml_uwb_341511050aml_uwb_341310300aml_uwb_341310030aml_uwb_341111010aml_uwb_341011000android14-mainline-uwb-release
Change-Id: I4214e9b1562dd3900d1b6efe38e112e0ad50263f
Diffstat (limited to 'vts/performance/Benchmark_throughput.cpp')
-rw-r--r-- | vts/performance/Benchmark_throughput.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vts/performance/Benchmark_throughput.cpp b/vts/performance/Benchmark_throughput.cpp index d197d2d..9011ba4 100644 --- a/vts/performance/Benchmark_throughput.cpp +++ b/vts/performance/Benchmark_throughput.cpp @@ -261,12 +261,12 @@ Pipe make_service(string service_name) { pid_t pid = fork(); if (pid) { /* parent */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { /* child */ - service_fx(service_name, move(get<1>(pipe_pair))); + service_fx(service_name, std::move(get<1>(pipe_pair))); /* never get here */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } @@ -275,13 +275,13 @@ Pipe make_worker(int num, int iterations, int service_count, bool get_stub) { 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, iterations, service_count, get_stub, - move(get<1>(pipe_pair))); + std::move(get<1>(pipe_pair))); /* never get here */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } |