Commit aa4ec6ee authored by Joseph Noir's avatar Joseph Noir

Add missing cast

parent ca51c757
...@@ -456,7 +456,7 @@ public: ...@@ -456,7 +456,7 @@ public:
} }
inject_clause& to(const caf::scoped_actor& whom) { inject_clause& to(const caf::scoped_actor& whom) {
dest_ = whom.ptr(); dest_ = caf::actor_cast<caf::strong_actor_ptr>(whom.ptr());
return *this; return *this;
} }
......
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