Skip to content

Commit 888956a

Browse files
authored
Merge pull request #117 from djw8605/fix-return-pointer
Fix a return of a unique pointer
2 parents 752e4f9 + c47b114 commit 888956a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scitokens_internal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ std::unique_ptr<AsyncStatus> Validator::get_public_keys_from_web_continue(
638638
cget_status =
639639
status->m_cget->perform_start(status->m_oauth_metadata_url);
640640
if (!cget_status.m_done) {
641-
return status;
641+
return std::move(status);
642642
}
643643
return get_public_keys_from_web_continue(std::move(status));
644644
}

0 commit comments

Comments
 (0)