Unverified Commit a3f250c1 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #967

forward arguments as *-value'ness is unknown
parents 4d4c1fdb 4a127800
...@@ -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