Remove using namespace declarations at namespace scope in headers

This commit is contained in:
Scott Schurr
2018-08-03 11:42:39 -07:00
committed by seelabs
parent 4aa0bc37c0
commit 2901577be7
30 changed files with 74 additions and 38 deletions

View File

@@ -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();