rpc: handle future<> return type of an rpc handler properly

This commit is contained in:
Gleb Natapov
2015-05-05 12:07:20 +03:00
committed by Avi Kivity
parent 36701cafcb
commit de2e297016

View File

@@ -157,6 +157,9 @@ struct rcv_reply<Serializer, MsgType, void> : rcv_reply_base<void, void> {
}
};
template<typename Serializer, typename MsgType>
struct rcv_reply<Serializer, MsgType, future<>> : rcv_reply<Serializer, MsgType, void> {};
// structure to hold outgoing message parameters on a client side
// while they are serialized
template<typename MsgType, typename... T>