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

@@ -362,7 +362,7 @@ Env::postconditions(JTx const& jt, TER ter, bool didApply)
--trace_;
test.log << pretty(jt.jv) << std::endl;
}
for (auto const& f : jt.requires)
for (auto const& f : jt.require)
f(*this);
}