Skip to content

Commit c47b114

Browse files
committed
Fix a return of a unique pointer
1 parent 752e4f9 commit c47b114

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)