mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fixup! AI review feedback: mark header function as inline
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user