forked from scylladb/seastar
-
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.
rpc: switch rpc::type from boost to std
rpc has a marker type rpc::type which it uses to communicate with the user-provided deserializer. It is currently based on boost::type. In an ideal universe, switching to the similar std::type_identity would involve only changing the typedef. However, some users pass boost::type directly, so we can't do that without breaking them. To preserve compatiblity, have all read() calls pass through a helper function that checks which variant is available and calls it. The older one is marked deprecated. With that done, we switch the rpc::type alias to std::type_identity.
- Loading branch information
Showing
2 changed files
with
27 additions
and
4 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