Skip to content

Commit f310946

Browse files
author
Rafał Hibner
committed
Fix msvc final
1 parent 8ed66c1 commit f310946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ struct GraphQLBuilder
564564
[]<typename V>(V&& arg) {
565565
using union_t = GraphQLUnion<typename std::remove_reference_t<U>::element_type, typename T::element_type>;
566566
using model_map_t = typename union_t::model_map;
567-
using model_t = typename(model_map_t::find)<typename std::remove_reference_t<V>::element_type>;
567+
using model_t = model_map_t::template find<typename std::remove_reference_t<V>::element_type>;
568568
if constexpr (std::is_same_v<model_t, std::monostate>)
569569
{
570570
throw std::logic_error("Unsupported variant type");

0 commit comments

Comments
 (0)