mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06: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:
@@ -54,7 +54,7 @@ struct SeqProxy_test : public beast::unit_test::suite
|
||||
ss << seqProx;
|
||||
std::string str{ss.str()};
|
||||
|
||||
return str.find(type) == 0 && str[type.size()] == ' ' &&
|
||||
return str.starts_with(type) && str[type.size()] == ' ' &&
|
||||
str.find(value) == (type.size() + 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user