Skip to content

Commit 4b512aa

Browse files
committed
Fix r-value reference in GraphQLClient.cpp
1 parent 74806ac commit 4b512aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphQLClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ bool ModifiedResponse<bool>::parse(response::Value&& value)
247247
template <>
248248
response::Value ModifiedResponse<response::Value>::parse(response::Value&& value)
249249
{
250-
return value;
250+
return { std::move(value) };
251251
}
252252

253253
template <>

0 commit comments

Comments
 (0)