You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2022/02/23 17:27:09 UTC
[thrift] branch master updated: THRIFT-5528 Incorrect HTML link for referenced typedefs Client: html Patch: Jens Geyer
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new 8fea4ea THRIFT-5528 Incorrect HTML link for referenced typedefs Client: html Patch: Jens Geyer
8fea4ea is described below
commit 8fea4ea0c1469bef5c06efd9a125b94f3bf66922
Author: Jens Geyer <je...@apache.org>
AuthorDate: Wed Feb 23 18:22:57 2022 +0100
THRIFT-5528 Incorrect HTML link for referenced typedefs
Client: html
Patch: Jens Geyer
---
compiler/cpp/src/thrift/generate/t_html_generator.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/cpp/src/thrift/generate/t_html_generator.cc b/compiler/cpp/src/thrift/generate/t_html_generator.cc
index 3bff2c9..f51de48 100644
--- a/compiler/cpp/src/thrift/generate/t_html_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_html_generator.cc
@@ -694,7 +694,7 @@ int t_html_generator::print_type(t_type* ttype) {
string type_name = ttype->get_name();
f_out_ << "<a href=\"" << make_file_link(prog_name + ".html") << "#";
if (ttype->is_typedef()) {
- f_out_ << "Struct_";
+ f_out_ << "Typedef_";
} else if (ttype->is_struct() || ttype->is_xception()) {
f_out_ << "Struct_";
} else if (ttype->is_enum()) {