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:
@@ -1013,6 +1013,7 @@ public:
|
||||
BEAST_EXPECT(jrOffer[jss::owner_funds] == "100");
|
||||
BEAST_EXPECT(jrOffer[jss::quality] == "400000000");
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
BEAST_EXPECT(wsc->findMsg(5s,
|
||||
[&](auto const& jv)
|
||||
{
|
||||
@@ -1156,6 +1157,7 @@ public:
|
||||
env(offer(charlie, USD(1000), XRP(1000)));
|
||||
env.close();
|
||||
env.require(offers(alice, 0), offers(bob, 0), offers(charlie, 0));
|
||||
using namespace std::chrono_literals;
|
||||
BEAST_EXPECT(offerOnlyOnceInStream(wsc, 1s, XRP(1000), USD(1000)));
|
||||
|
||||
// RPC unsubscribe
|
||||
@@ -1238,6 +1240,7 @@ public:
|
||||
// Charlies places an on offer for EUR -> USD that should auto-bridge
|
||||
env(offer(charlie, USD(1), EUR(1)));
|
||||
env.close();
|
||||
using namespace std::chrono_literals;
|
||||
BEAST_EXPECT(offerOnlyOnceInStream(wsc, 1s, EUR(1), USD(1)));
|
||||
|
||||
// RPC unsubscribe
|
||||
|
||||
@@ -666,6 +666,7 @@ class LedgerRPC_test : public beast::unit_test::suite
|
||||
return jv;
|
||||
};
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
env (escrowCreate (alice, alice, XRP(333), env.now() + 2s));
|
||||
env.close();
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ class Peers_test : public beast::unit_test::suite
|
||||
|
||||
std::string name = "Node " + std::to_string(i);
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
env.app().cluster().update(
|
||||
kp.first,
|
||||
name,
|
||||
|
||||
@@ -360,6 +360,7 @@ public:
|
||||
env.close();
|
||||
|
||||
// Check stream update
|
||||
using namespace std::chrono_literals;
|
||||
BEAST_EXPECT(wsc->findMsg(5s,
|
||||
[&](auto const& jv)
|
||||
{
|
||||
|
||||
@@ -269,6 +269,7 @@ public:
|
||||
//----------------------------------------------------------------------
|
||||
// Publisher list site available
|
||||
{
|
||||
using namespace std::chrono_literals;
|
||||
NetClock::time_point const expiration{3600s};
|
||||
|
||||
// Manage single thread io_service for server
|
||||
|
||||
Reference in New Issue
Block a user