Skip to content

Commit

Permalink
Use std::optional::reset
Browse files Browse the repository at this point in the history
Co-authored-by: Anirudh Lakhanpal <[email protected]>
  • Loading branch information
MaelRL and SharonIV0x86 authored Jan 17, 2025
1 parent e1b7c47 commit 72520db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ std::size_t peel_slivers(C3T3& c3t3,
if (patch.has_value() && patch.value() != spi)
{
//there are 2 different patches
patch = std::nullopt;
patch.reset();
break;
}
else
Expand Down

0 comments on commit 72520db

Please sign in to comment.