mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
chore: Enable clang-tidy modernize checks (#6975)
Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com> Co-authored-by: Bart <bthomee@users.noreply.github.com>
This commit is contained in:
@@ -660,7 +660,7 @@ class Transaction_test : public beast::unit_test::suite
|
||||
// Change the first upper case letter to lower case.
|
||||
std::string mixedCase = ctid;
|
||||
{
|
||||
auto const iter = std::find_if(mixedCase.begin(), mixedCase.end(), isUpper);
|
||||
auto const iter = std::ranges::find_if(mixedCase, isUpper);
|
||||
*iter = std::tolower(*iter);
|
||||
}
|
||||
BEAST_EXPECT(ctid != mixedCase);
|
||||
|
||||
Reference in New Issue
Block a user