Skip to content

Commit

Permalink
Use using instead of typedef when defining a TailCallParseFunc type.
Browse files Browse the repository at this point in the history
This is more consistent with the internal Google style.

PiperOrigin-RevId: 723169174
  • Loading branch information
tonyliaoss authored and copybara-github committed Feb 4, 2025
1 parent af50fa5 commit 4f4ac6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/generated_message_tctable_decl.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ struct TcFieldData {
struct TcParseTableBase;

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

namespace field_layout {
struct Offset {
Expand Down

0 comments on commit 4f4ac6a

Please sign in to comment.