Skip to content

Commit

Permalink
Fix shadow error
Browse files Browse the repository at this point in the history
Reviewed By: yoney

Differential Revision: D68239954

fbshipit-source-id: 39e7f446eae5965765d64f8305934b805c1a34d9
  • Loading branch information
iahs authored and facebook-github-bot committed Jan 16, 2025
1 parent 47a553a commit 7da32cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thrift/annotation/build_annotations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ int main(int argc, char** argv) {
"\n"
"const std::map<std::string, std::string>& bundled_annotations::files() {{\n"
" static const std::map<std::string, std::string> files = {{\n");
for (const auto& [path, content] : files) {
for (const auto& [name, content] : files) {
fmt::print(
" {{\"{1}\", R\"{0}({2}){0}\"}},\n",
"__FBTHRIFT_TAG__",
path,
name,
content);
}
fmt::print(
Expand Down

0 comments on commit 7da32cf

Please sign in to comment.