Skip to content

Commit

Permalink
Update services/util/ConfigurationStore.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 15d563d commit 199b2a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/util/ConfigurationStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ namespace services
{
auto verificationBlock = infra::Head(verificationBuffer, blob.size() - currentVerificationIndex);

if (std::find_if_not(verificationBlock.begin(), verificationBlock.end(), [](uint8_t byte) { return byte == 0xFF; }) == verificationBlock.end())
if (std::find_if_not(verificationBlock.begin(), verificationBlock.end(), [](uint8_t byte)
{
return byte == 0xFF;
}) == verificationBlock.end())
{
currentVerificationIndex += verificationBlock.size();
VerifyIfIsErased();
Expand Down

0 comments on commit 199b2a8

Please sign in to comment.