diff --git a/thrift/annotation/build_annotations.cc b/thrift/annotation/build_annotations.cc index fac718b88cf..c092c132aa8 100644 --- a/thrift/annotation/build_annotations.cc +++ b/thrift/annotation/build_annotations.cc @@ -58,11 +58,11 @@ int main(int argc, char** argv) { "\n" "const std::map& bundled_annotations::files() {{\n" " static const std::map 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(