fixup! AI review feedback: mark header function as inline

This commit is contained in:
Ed Hennis
2026-04-21 14:21:48 -04:00
parent 81e7188000
commit 8fdd4829ad
2 changed files with 8 additions and 5 deletions

View File

@@ -23,11 +23,8 @@ isFeatureEnabled(uint256 const& feature, bool resultIfNoRules);
* Returns false if no global Rules object is available. i.e. Outside of
* a Transactor context
*/
inline bool
isFeatureEnabled(uint256 const& feature)
{
return isFeatureEnabled(feature, false);
}
bool
isFeatureEnabled(uint256 const& feature);
class DigestAwareReadView;

View File

@@ -147,4 +147,10 @@ isFeatureEnabled(uint256 const& feature, bool resultIfNoRules)
return rules->enabled(feature);
}
bool
isFeatureEnabled(uint256 const& feature)
{
return isFeatureEnabled(feature, false);
}
} // namespace xrpl