Skip to content

Commit 4f4ac6a

Browse files
tonyliaosscopybara-github
authored andcommitted
Use using instead of typedef when defining a TailCallParseFunc type.
This is more consistent with the internal Google style. PiperOrigin-RevId: 723169174
1 parent af50fa5 commit 4f4ac6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/protobuf/generated_message_tctable_decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ struct TcFieldData {
130130
struct TcParseTableBase;
131131

132132
// TailCallParseFunc is the function pointer type used in the tailcall table.
133-
typedef PROTOBUF_CC const char* (*TailCallParseFunc)(PROTOBUF_TC_PARAM_DECL);
133+
using TailCallParseFunc = PROTOBUF_CC const char* (*)(PROTOBUF_TC_PARAM_DECL);
134134

135135
namespace field_layout {
136136
struct Offset {

0 commit comments

Comments
 (0)