diff --git a/thrift/annotation/cpp.thrift b/thrift/annotation/cpp.thrift index a35f837a2a144..27830b16b74d4 100644 --- a/thrift/annotation/cpp.thrift +++ b/thrift/annotation/cpp.thrift @@ -338,29 +338,6 @@ struct Frozen2Exclude {} @scope.Typedef struct Frozen2RequiresCompleteContainerParams {} -/** - * Generates typed interceptor stubs that can be overriden by user, - * and adorn the handler methods. This can be used on individual functions - * or on services (equivalent to adding it to all functions). - * - * service MyService { - * @cpp.GenerateTypedInterceptor - * void ping(); - * } - * - * This will generate the following interface: - * - * class TypedInterceptor { - * TypeErasedStorage before_ping(); - * TypeErasedStorage after_ping(); - * } - * - */ -@scope.Service -@scope.Interaction -@scope.Function -struct GenerateTypedInterceptor {} - /** * Causes C++ handler code to run inline on the EventBase thread. * Disables overload protection, use with caution.