We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
clang-tidy
bugprone-reserved-identifier
1 parent 155a156 commit 8871ac9Copy full SHA for 8871ac9
phlex/core/index_router.cpp
@@ -216,8 +216,8 @@ namespace phlex::experimental {
216
return matched_flushing_entries_.find(layer_hash)->second;
217
}
218
219
- auto [routing_it, _] = matched_routing_entries_.try_emplace(layer_hash);
220
- auto [flushing_it, __] = matched_flushing_entries_.try_emplace(layer_hash);
+ auto routing_it = matched_routing_entries_.try_emplace(layer_hash).first;
+ auto flushing_it = matched_flushing_entries_.try_emplace(layer_hash).first;
221
222
auto const layer_path = index->layer_path();
223
0 commit comments