style: Unify style for 'not expectedNext.has_value()' (#2979)

This commit is contained in:
Ayaz Salikhov
2026-03-06 12:21:53 +00:00
committed by GitHub
parent 967590e639
commit 9cbc99651c
6 changed files with 6 additions and 6 deletions

View File

@@ -134,7 +134,7 @@ AccountChannelsHandler::process(
addToResponse
);
if (!expectedNext.has_value())
if (not expectedNext.has_value())
return Error{expectedNext.error()};
response.account = input.account;

View File

@@ -190,7 +190,7 @@ AccountLinesHandler::process(AccountLinesHandler::Input const& input, Context co
addToResponse
);
if (!expectedNext.has_value())
if (not expectedNext.has_value())
return Error{expectedNext.error()};
auto const nextMarker = expectedNext.value();

View File

@@ -159,7 +159,7 @@ AccountMPTokenIssuancesHandler::process(
addToResponse
);
if (!expectedNext.has_value())
if (not expectedNext.has_value())
return Error{expectedNext.error()};
auto const nextMarker = expectedNext.value();

View File

@@ -116,7 +116,7 @@ AccountMPTokensHandler::process(
addToResponse
);
if (!expectedNext.has_value())
if (not expectedNext.has_value())
return Error{expectedNext.error()};
auto const& nextMarker = expectedNext.value();

View File

@@ -111,7 +111,7 @@ AccountObjectsHandler::process(AccountObjectsHandler::Input const& input, Contex
true
);
if (!expectedNext.has_value())
if (not expectedNext.has_value())
return Error{expectedNext.error()};
response.ledgerHash = ripple::strHex(lgrInfo.hash);

View File

@@ -109,7 +109,7 @@ AccountOffersHandler::process(AccountOffersHandler::Input const& input, Context
addToResponse
);
if (!expectedNext.has_value())
if (not expectedNext.has_value())
return Error{expectedNext.error()};
auto const nextMarker = expectedNext.value();