Skip to content

Commit 8871ac9

Browse files
committed
clang-tidy: fix bugprone-reserved-identifier
1 parent 155a156 commit 8871ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phlex/core/index_router.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ namespace phlex::experimental {
216216
return matched_flushing_entries_.find(layer_hash)->second;
217217
}
218218

219-
auto [routing_it, _] = matched_routing_entries_.try_emplace(layer_hash);
220-
auto [flushing_it, __] = matched_flushing_entries_.try_emplace(layer_hash);
219+
auto routing_it = matched_routing_entries_.try_emplace(layer_hash).first;
220+
auto flushing_it = matched_flushing_entries_.try_emplace(layer_hash).first;
221221

222222
auto const layer_path = index->layer_path();
223223

0 commit comments

Comments
 (0)