Skip to content

Commit b0fcf7b

Browse files
authored
Merge pull request microsoft#98 from wravery/master
Fix microsoft#97
2 parents d195e8c + 75ea9db commit b0fcf7b

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
@@ -589,7 +589,7 @@ struct ModifiedResult
589589

590590
wrappedParams.errorPath.push(size_t { 0 });
591591

592-
if constexpr (!std::is_reference_v<typename std::decay_t<decltype(wrappedResult)>::reference>)
592+
if constexpr (!std::is_reference_v<typename std::decay_t<decltype(wrappedFuture.get())>::reference>)
593593
{
594594
// Special handling for std::vector<> specializations which don't return a reference to the underlying type,
595595
// i.e. std::vector<bool> on many platforms. Copy the values from the std::vector<> rather than moving them.

0 commit comments

Comments
 (0)