Commit 4a127800 authored by JCrawfy's avatar JCrawfy

forward arguments as *-value'ness is unknown

Resolves CAF#966
https://github.com/actor-framework/actor-framework/issues/966
parent 4d4c1fdb
...@@ -54,7 +54,7 @@ public: ...@@ -54,7 +54,7 @@ public:
callback_impl& operator=(callback_impl&&) = default; callback_impl& operator=(callback_impl&&) = default;
error operator()(Ts... xs) override { error operator()(Ts... xs) override {
return f_(xs...); return f_(std::forward<Ts>(xs)...);
} }
private: private:
......
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