mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 16:10:57 +00:00
refactor: Use more scoped enums (#7086)
This commit is contained in:
@@ -17,7 +17,7 @@ associateAsset(SLE& sle, Asset const& asset)
|
||||
{
|
||||
STBase& entry = sle.getIndex(i);
|
||||
SField const& field = entry.getFName();
|
||||
if (field.shouldMeta(SField::SMdNeedsAsset))
|
||||
if (field.shouldMeta(SField::kSMD_NEEDS_ASSET))
|
||||
{
|
||||
auto const type = entry.getSType();
|
||||
// If the field is not set or present, skip it.
|
||||
|
||||
Reference in New Issue
Block a user