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.
alien: be compatible use API Level 5
in API level 5, internal::monostate is used to represent the state of the return value of a function which returns "void", and tuple is not used for passing the return value anymore. so in this change, alien is updated to follow this convention and accept futurize<>::value_type instead of futurize<>::tuple_type, otherwise the alien appication fails to compile if API Level 5 is enabled, in that case, instance of type T or internal::monostate is passed to return_type_of::set() as the second parameter, and compile chokes at seeing this. Signed-off-by: Kefu Chai <[email protected]> Message-Id: <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 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