mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix unit test compiler warnings
This commit is contained in:
@@ -278,10 +278,10 @@ class PaymentSandbox_test : public beast::unit_test::suite
|
||||
STAmount hugeAmt (issue, STAmount::cMaxValue, STAmount::cMaxOffset - 1,
|
||||
false, false, STAmount::unchecked{});
|
||||
|
||||
for (auto timeDelta : {-env.closed ()->info ().closeTimeResolution,
|
||||
env.closed ()->info ().closeTimeResolution})
|
||||
for (auto d : {-1, 1})
|
||||
{
|
||||
auto const closeTime = fix1141Time () + timeDelta;
|
||||
auto const closeTime = fix1141Time () +
|
||||
d * env.closed()->info().closeTimeResolution;
|
||||
env.close (closeTime);
|
||||
ApplyViewImpl av (&*env.current (), tapNONE);
|
||||
PaymentSandbox pv (&av);
|
||||
|
||||
Reference in New Issue
Block a user