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:
Robert Zhang
2021-04-14 09:53:45 -07:00
committed by manojsdoshi
parent f1a9e8840f
commit 2f0231025f
3 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ public:
void
operator()(Env&, JTx& jt) const
{
jt.requires.emplace_back(cond_);
jt.require.emplace_back(cond_);
}
};