diff --git a/src/ray/rpc/server_call.h b/src/ray/rpc/server_call.h index 89e7532cd..2afe54088 100644 --- a/src/ray/rpc/server_call.h +++ b/src/ray/rpc/server_call.h @@ -83,6 +83,8 @@ class ServerCallFactory { /// /// \return Pointer to the `ServerCall` object. virtual ServerCall *CreateCall() const = 0; + + virtual ~ServerCallFactory() = default; }; /// Represents the generic signature of a `FooServiceHandler::HandleBar()`