fix clang-tidy issues

This commit is contained in:
Mayukha Vadari
2026-04-21 15:22:12 -04:00
parent 0de37c2cad
commit dc2430ea86
24 changed files with 29 additions and 18 deletions

View File

@@ -92,7 +92,7 @@ public:
{
// Ensure the slice isn't a subset of the buffer.
XRPL_ASSERT(
s.size() == 0 || size_ == 0 || s.data() < p_.get() || s.data() >= p_.get() + size_,
s.empty() || size_ == 0 || s.data() < p_.get() || s.data() >= p_.get() + size_,
"xrpl::Buffer::operator=(Slice) : input not a subset");
if (auto p = alloc(s.size()))