mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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
@@ -46,8 +46,8 @@ template <
|
||||
class KeyCache
|
||||
{
|
||||
public:
|
||||
typedef Key key_type;
|
||||
typedef beast::abstract_clock <std::chrono::steady_clock> clock_type;
|
||||
using key_type = Key;
|
||||
using clock_type = beast::abstract_clock <std::chrono::steady_clock>;
|
||||
|
||||
private:
|
||||
struct Stats
|
||||
@@ -80,12 +80,12 @@ private:
|
||||
clock_type::time_point last_access;
|
||||
};
|
||||
|
||||
typedef hardened_hash_map <key_type, Entry, Hash, KeyEqual> map_type;
|
||||
typedef typename map_type::iterator iterator;
|
||||
typedef std::lock_guard <Mutex> lock_guard;
|
||||
using map_type = hardened_hash_map <key_type, Entry, Hash, KeyEqual>;
|
||||
using iterator = typename map_type::iterator;
|
||||
using lock_guard = std::lock_guard <Mutex>;
|
||||
|
||||
public:
|
||||
typedef typename map_type::size_type size_type;
|
||||
using size_type = typename map_type::size_type;
|
||||
|
||||
private:
|
||||
Mutex mutable m_mutex;
|
||||
|
||||
Reference in New Issue
Block a user