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:
@@ -113,6 +113,7 @@ Json::Value doGetCounts (RPC::Context& context)
|
||||
|
||||
std::string uptime;
|
||||
auto s = UptimeClock::now();
|
||||
using namespace std::chrono_literals;
|
||||
textTime (uptime, s, "year", 365 * 24h);
|
||||
textTime (uptime, s, "day", 24h);
|
||||
textTime (uptime, s, "hour", 1h);
|
||||
|
||||
@@ -55,8 +55,7 @@ static int const defaultAutoFillFeeDivisor = 1;
|
||||
static int const maxPathfindsInProgress = 2;
|
||||
static int const maxPathfindJobCount = 50;
|
||||
static int const maxJobQueueClients = 500;
|
||||
using namespace std::chrono_literals;
|
||||
auto constexpr maxValidatedLedgerAge = 2min;
|
||||
auto constexpr maxValidatedLedgerAge = std::chrono::minutes {2};
|
||||
static int const maxRequestSize = 1000000;
|
||||
|
||||
/** Maximum number of pages in one response from a binary LedgerData request. */
|
||||
|
||||
Reference in New Issue
Block a user