diff options
-rw-r--r-- | modules/codec-json/json.tmpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec-json/json.tmpl.h b/modules/codec-json/json.tmpl.h index 4b3a1a2..84f0058 100644 --- a/modules/codec-json/json.tmpl.h +++ b/modules/codec-json/json.tmpl.h @@ -250,7 +250,7 @@ struct json_encode<schema::Union<schema::Member<T,Key>...>, RootSchema, FromEnco template<size_t i> static error_or<void> encode_element(const data<schema::Union<schema::Member<T,Key>...>, FromEncode>& from, buffer& to){ - if(from.template holds_alternative<typename parameter_key_pack_type<i, Key...>::literal>()){ + if(from.template holds_alternative<parameter_key_pack_type<i, Key...>::literal>()){ // Encode the name { std::string_view view = parameter_key_pack_type<i, Key...>::literal.view(); |