forked from facebook/mcrouter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ThriftTransport constructor taking plain EventBase
Summary: Currently, the generated `ThriftTransport` constructor accepts a `VirtualEventBase&`. This is for consistency with `AsyncMcClient` code. However, currently `ThriftTransport` doesn't use the virtual-ness of `VirtualEventBase` at all and simply directly uses the backing `EventBase`. For tests, it would be convenient to be able to construct a `ThriftTransport` directly from `EventBase`, which is what this diff adds. Reviewed By: stuclar Differential Revision: D17056270 fbshipit-source-id: f968417e95952f48c58c087bf0d3d4035ee46267
- Loading branch information
1 parent
a83eea8
commit eb7e1ed
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters