Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed Jan 20, 2025
1 parent cad62aa commit 4ed6c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/dyn_load/dyn_load.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class BOTAN_TEST_API Dynamically_Loaded_Library final {
requires(std::is_pointer_v<PtrT>)
{
void* addr = resolve_symbol_internal(symbol);
return addr ? reinterpret_cast<PtrT>(addr) : std::nullopt;
return addr ? std::optional(reinterpret_cast<PtrT>(addr)) : std::nullopt;
}

/**
Expand Down

0 comments on commit 4ed6c63

Please sign in to comment.