Skip to content

Commit

Permalink
Fix: ServerCallFactory's destructor not marked as virtual (ray-projec…
Browse files Browse the repository at this point in the history
  • Loading branch information
raulchen authored and jovany-wang committed Jul 13, 2019
1 parent b6509f4 commit f5a87b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ray/rpc/server_call.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()`
Expand Down

0 comments on commit f5a87b8

Please sign in to comment.