Commit 78343097 authored by Dominik Charousset's avatar Dominik Charousset

Merge pull request #33 from mavam/topic/clang-workaround

Clang bug workaround
parents a37e6456 ab779d9c
...@@ -78,9 +78,13 @@ class behavior : public partial_function { ...@@ -78,9 +78,13 @@ class behavior : public partial_function {
d, f)) { d, f)) {
} }
template<typename... Cases, typename... Args> template<typename... Cases>
behavior(const match_expr<Cases...>& arg0, const Args&... args) behavior(const match_expr<Cases...>& arg0)
: super(match_expr_concat(arg0, args...)) { } : super(arg0) { }
template<typename... Cases, typename Arg1, typename... Args>
behavior(const match_expr<Cases...>& arg0, const Arg1& arg1, const Args&... args)
: super(match_expr_concat(arg0, arg1, args...)) { }
inline void handle_timeout() { inline void handle_timeout() {
m_impl->handle_timeout(); m_impl->handle_timeout();
......
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