Skip to content

Commit

Permalink
fix(scheme): use std::unexpected
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Oct 15, 2024
1 parent 289709a commit 27356dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extern "C"
saucer_scheme_response *saucer_scheme_response_unexpected(SAUCER_SCHEME_ERROR error)
{
return saucer_scheme_response::from(
tl::unexpected<saucer::scheme::error>{static_cast<saucer::scheme::error>(error)});
std::unexpected<saucer::scheme::error>{static_cast<saucer::scheme::error>(error)});
}

void saucer_scheme_response_free(saucer_scheme_response *handle)
Expand Down

0 comments on commit 27356dc

Please sign in to comment.