Commit a44552ce authored by Dominik Charousset's avatar Dominik Charousset

Drop deprecation warnings again

Deprecating the delayed_anon_send functions will emit warnings inside
class-based actors. It's actually better to simply drop the legacy
functions outright in 0.18.
parent 6eb61e5a
......@@ -154,15 +154,13 @@ public:
template <message_priority P = message_priority::normal, class Dest = actor,
class Rep = int, class Period = std::ratio<1>, class... Ts>
void delayed_anon_send(const Dest& dest,
std::chrono::duration<Rep, Period> rtime, Ts&&... xs)
CAF_DEPRECATED_MSG("use the free function instead") {
std::chrono::duration<Rep, Period> rtime, Ts&&... xs) {
caf::delayed_anon_send<P>(dest, rtime, std::forward<Ts>(xs)...);
}
template <class Rep = int, class Period = std::ratio<1>, class... Ts>
void delayed_anon_send(const group& dest,
std::chrono::duration<Rep, Period> rtime, Ts&&... xs)
CAF_DEPRECATED_MSG("use the free function instead") {
std::chrono::duration<Rep, Period> rtime, Ts&&... xs) {
caf::delayed_anon_send(dest, rtime, std::forward<Ts>(xs)...);
}
......@@ -189,4 +187,3 @@ private:
} // namespace mixin
} // namespace caf
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