Commit 3622fe2f authored by ufownl's avatar ufownl

Fix bug about typed actor/broker

Correct the parameter error of `send` and `delayed_send`.
parent e4558866
......@@ -66,7 +66,7 @@ public:
using base_type::delayed_send;
template <class... DestSigs, class... Ts>
void send(message_priority mp, const typed_actor<Sigs...>& dest, Ts&&... xs) {
void send(message_priority mp, const typed_actor<DestSigs...>& dest, Ts&&... xs) {
detail::sender_signature_checker<
detail::type_list<Sigs...>,
detail::type_list<DestSigs...>,
......@@ -94,7 +94,7 @@ public:
}
template <class... DestSigs, class... Ts>
void delayed_send(message_priority mp, const typed_actor<Sigs...>& dest,
void delayed_send(message_priority mp, const typed_actor<DestSigs...>& dest,
const duration& rtime, Ts&&... xs) {
detail::sender_signature_checker<
detail::type_list<Sigs...>,
......@@ -109,7 +109,7 @@ public:
}
template <class... DestSigs, class... Ts>
void delayed_send(const typed_actor<Sigs...>& dest,
void delayed_send(const typed_actor<DestSigs...>& dest,
const duration& rtime, Ts&&... xs) {
detail::sender_signature_checker<
detail::type_list<Sigs...>,
......
......@@ -82,7 +82,7 @@ public:
using super::delayed_send;
template <class... DestSigs, class... Ts>
void send(message_priority mp, const typed_actor<Sigs...>& dest, Ts&&... xs) {
void send(message_priority mp, const typed_actor<DestSigs...>& dest, Ts&&... xs) {
detail::sender_signature_checker<
detail::type_list<Sigs...>,
detail::type_list<DestSigs...>,
......@@ -110,7 +110,7 @@ public:
}
template <class... DestSigs, class... Ts>
void delayed_send(message_priority mp, const typed_actor<Sigs...>& dest,
void delayed_send(message_priority mp, const typed_actor<DestSigs...>& dest,
const duration& rtime, Ts&&... xs) {
detail::sender_signature_checker<
detail::type_list<Sigs...>,
......@@ -125,7 +125,7 @@ public:
}
template <class... DestSigs, class... Ts>
void delayed_send(const typed_actor<Sigs...>& dest,
void delayed_send(const typed_actor<DestSigs...>& dest,
const duration& rtime, Ts&&... xs) {
detail::sender_signature_checker<
detail::type_list<Sigs...>,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment