mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-01 03:21:04 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -76,7 +76,8 @@ public:
|
||||
bool
|
||||
checkExpectedCounters() const
|
||||
{
|
||||
return !numExpectedAvailable_ && !numExpectedNotSet_ && !numExpectedSetUnavailable_;
|
||||
return (numExpectedAvailable_ == 0) && (numExpectedNotSet_ == 0) &&
|
||||
(numExpectedSetUnavailable_ == 0);
|
||||
}
|
||||
|
||||
// Check if the transaction has `delivered_amount` in the metaData as
|
||||
|
||||
Reference in New Issue
Block a user