aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-02-01 16:49:55 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-02-01 16:49:55 -0800
commitdaadcc8f745fff4149c37a4ba9467d91694a2c8e (patch)
treeb2557da89f255570c2c1f204714580cd846f90ff /test/cpp
parent33e51184fcb4bb021a6b2878d90a2d19c53821ff (diff)
at
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/qps/driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc
index 9eef4076d9..c70b0303b8 100644
--- a/test/cpp/qps/driver.cc
+++ b/test/cpp/qps/driver.cc
@@ -279,7 +279,7 @@ std::unique_ptr<ScenarioResult> RunScenario(
int server_core_limit = initial_server_config.core_limit();
int client_core_limit = initial_client_config.core_limit();
if ((server_core_limit > 0) || (client_core_limit > 0)) {
- auto& dq = hosts_cores[get_host(worker)];
+ auto& dq = hosts_cores.at(get_host(worker));
if (client_core_limit == 0) {
// limit client cores if it matches a server host
bool match = false;