Snap for 9688361 from d81dc329e6e1d0629d8a26dee99f981adca13ebc to udc-d1-release
Change-Id: I24c82acfe15cb4fc0de3310328ff3a9d4e23748b
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 @@
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 @@
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));
}
}
diff --git a/vts/performance/Latency.cpp b/vts/performance/Latency.cpp
index 13a93ad..c63602d 100644
--- a/vts/performance/Latency.cpp
+++ b/vts/performance/Latency.cpp
@@ -162,14 +162,14 @@
pid_t pid = fork();
if (pid) {
// parent
- return move(get<0>(pipe_pair));
+ return std::move(get<0>(pipe_pair));
} else {
threadDumpPri("service");
// child
- serviceFx(service_name, move(get<1>(pipe_pair)));
+ serviceFx(service_name, std::move(get<1>(pipe_pair)));
// never get here
ASSERT(0);
- return move(get<0>(pipe_pair));
+ return std::move(get<0>(pipe_pair));
}
}
@@ -241,14 +241,14 @@
pid_t pid = fork();
if (pid) {
// parent
- return move(get<0>(pipe_pair));
+ return std::move(get<0>(pipe_pair));
} else {
// child
threadDumpPri("client");
- clientFx(num, no_pair, iterations, move(get<1>(pipe_pair)));
+ clientFx(num, no_pair, iterations, std::move(get<1>(pipe_pair)));
// never get here
ASSERT(0);
- return move(get<0>(pipe_pair));
+ return std::move(get<0>(pipe_pair));
}
}