mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Change typedef to using.
Conflicts: src/ripple/app/TODO.md src/ripple/app/ledger/Ledger.h src/ripple/protocol/Protocol.h
This commit is contained in:
committed by
Vinnie Falco
parent
52f298f150
commit
155fcdbcd0
@@ -37,9 +37,9 @@ class JobQueueImp
|
||||
, private beast::Workers::Callback
|
||||
{
|
||||
public:
|
||||
typedef std::set <Job> JobSet;
|
||||
typedef std::map <JobType, JobTypeData> JobDataMap;
|
||||
typedef std::lock_guard <std::mutex> ScopedLock;
|
||||
using JobSet = std::set <Job>;
|
||||
using JobDataMap = std::map <JobType, JobTypeData>;
|
||||
using ScopedLock = std::lock_guard <std::mutex>;
|
||||
|
||||
beast::Journal m_journal;
|
||||
std::mutex m_mutex;
|
||||
@@ -615,7 +615,7 @@ private:
|
||||
ScopedLock lock (m_mutex);
|
||||
|
||||
// Remove all jobs whose type is skipOnStop
|
||||
typedef hash_map <JobType, std::size_t> JobDataMap;
|
||||
using JobDataMap = hash_map <JobType, std::size_t>;
|
||||
JobDataMap counts;
|
||||
bool const report (m_journal.debug.active());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user