mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove using namespace declarations at namespace scope in headers
This commit is contained in:
@@ -335,6 +335,7 @@ class Check_test : public beast::unit_test::suite
|
||||
// expected interaction between these optional fields; other than
|
||||
// the expiration, they are just plopped into the ledger. So I'm
|
||||
// not looking at interactions.
|
||||
using namespace std::chrono_literals;
|
||||
std::size_t const aliceCount {checksOnAccount (env, alice).size()};
|
||||
std::size_t const bobCount {checksOnAccount (env, bob).size()};
|
||||
env (check::create (alice, bob, USD(50)), expiration (env.now() + 1s));
|
||||
@@ -540,6 +541,7 @@ class Check_test : public beast::unit_test::suite
|
||||
expiration (env.now()), ter (tecEXPIRED));
|
||||
env.close();
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
env (check::create (alice, bob, USD(50)), expiration (env.now() + 1s));
|
||||
env.close();
|
||||
|
||||
@@ -1341,6 +1343,7 @@ class Check_test : public beast::unit_test::suite
|
||||
env (check::create (alice, bob, XRP(10)));
|
||||
env.close();
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
uint256 const chkIdExp {getCheckIndex (alice, env.seq (alice))};
|
||||
env (check::create (alice, bob, XRP(10)), expiration (env.now() + 1s));
|
||||
env.close();
|
||||
@@ -1615,6 +1618,7 @@ class Check_test : public beast::unit_test::suite
|
||||
env.close();
|
||||
|
||||
// Three checks that expire in 10 minutes.
|
||||
using namespace std::chrono_literals;
|
||||
uint256 const chkIdNotExp1 {getCheckIndex (alice, env.seq (alice))};
|
||||
env (check::create (alice, bob, XRP(10)), expiration (env.now()+600s));
|
||||
env.close();
|
||||
|
||||
Reference in New Issue
Block a user