Commit b79a5b38 authored by Dominik Charousset's avatar Dominik Charousset

Apply MSVC fix suggested hhendriks, relates #302

parent 983d14f8
...@@ -31,7 +31,9 @@ struct catch_all { ...@@ -31,7 +31,9 @@ struct catch_all {
F handler; F handler;
catch_all(catch_all&&) = default; catch_all(catch_all&& x) : handler(std::move(x.handler)) {
// nop
}
template <class T> template <class T>
catch_all(T&& x) : handler(std::forward<T>(x)) { catch_all(T&& x) : handler(std::forward<T>(x)) {
......
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