Commit 45e6279c authored by Dominik Charousset's avatar Dominik Charousset

Fix meta element factory for `try_match`

parent 540c120e
...@@ -62,7 +62,7 @@ struct meta_element_factory<T, 0> { ...@@ -62,7 +62,7 @@ struct meta_element_factory<T, 0> {
}; };
template <atom_value V> template <atom_value V>
struct meta_element_factory<atom_constant<V>, 0> { struct meta_element_factory<atom_constant<V>, type_nr<atom_value>::value> {
static meta_element create() { static meta_element create() {
return {V, detail::type_nr<atom_value>::value, return {V, detail::type_nr<atom_value>::value,
nullptr, match_atom_constant}; nullptr, match_atom_constant};
......
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