mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
refactor: Use isFlag where possible instead of bitwise math (#7278)
This commit is contained in:
@@ -34,7 +34,7 @@ Flags::operator()(Env& env) const
|
||||
}
|
||||
else if (sle->isFieldPresent(sfFlags))
|
||||
{
|
||||
env.test.expect((sle->getFieldU32(sfFlags) & mask_) == mask_);
|
||||
env.test.expect(sle->isFlag(mask_));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user