mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use std::size in place of std::extent
* Fixes RIPD-269
This commit is contained in:
committed by
manojsdoshi
parent
0290d0b82c
commit
2d23e7bd18
@@ -1871,9 +1871,7 @@ class AccountTxPaging_test : public beast::unit_test::suite
|
||||
if (!BEAST_EXPECT(status.error_code() == 0))
|
||||
return;
|
||||
|
||||
if (!BEAST_EXPECT(
|
||||
res.transactions().size() ==
|
||||
std::extent<decltype(txCheck)>::value))
|
||||
if (!BEAST_EXPECT(res.transactions().size() == std::size(txCheck)))
|
||||
return;
|
||||
for (int i = 0; i < res.transactions().size(); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user