mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Future proof rippled by changing variable name 'requires' to 'require'
'requires' is a keyword in C++20. https://en.cppreference.com/w/cpp/keyword/requires
This commit is contained in:
committed by
manojsdoshi
parent
f1a9e8840f
commit
2f0231025f
@@ -74,7 +74,7 @@ public:
|
||||
void
|
||||
operator()(Env&, JTx& jt) const
|
||||
{
|
||||
jt.requires.emplace_back(cond_);
|
||||
jt.require.emplace_back(cond_);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user