Skip to content

Commit 7572225

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Fix CQS signal modernize-use-emplace in fbcode/cachelib/navy
Differential Revision: D82806411 fbshipit-source-id: 1b4e12357b08f4145c4d19b9da9347a14f872e5a
1 parent be24e35 commit 7572225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cachelib/navy/scheduler/NavyRequestScheduler.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void NavyRequestScheduler::checkHealth(
212212
}
213213
lastStats[i] = stat;
214214

215-
funcs.push_back([i, &healthy, &dispatchers]() {
215+
funcs.emplace_back([i, &healthy, &dispatchers]() {
216216
auto& dispatcher = dispatchers[i];
217217
auto baton = std::make_shared<folly::fibers::Baton>();
218218
// Check the loop time of the eventbase by pushing a dummy task

0 commit comments

Comments
 (0)