Skip to content

Commit 8146f83

Browse files
committed
test/test_mempool: fix to use mempool::pick_a_shard_int()
Signed-off-by: Yingxin Cheng <[email protected]>
1 parent fd05b5a commit 8146f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/test_mempool.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ TEST(mempool, check_shard_select)
412412
for (size_t i = 0; i < samples; i++) {
413413
workers.push_back(
414414
std::thread([&](){
415-
size_t i = mempool::pool_t::pick_a_shard_int();
415+
size_t i = mempool::pick_a_shard_int();
416416
shards[i]++;
417417
}));
418418
}

0 commit comments

Comments
 (0)