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
@@ -29,7 +29,7 @@
|
||||
namespace ripple {
|
||||
namespace Resource {
|
||||
|
||||
typedef beast::abstract_clock <std::chrono::steady_clock> clock_type;
|
||||
using clock_type = beast::abstract_clock <std::chrono::steady_clock>;
|
||||
|
||||
// An entry in the table
|
||||
// VFALCO DEPRECATED using boost::intrusive list
|
||||
|
||||
@@ -37,10 +37,10 @@ namespace Resource {
|
||||
class Logic
|
||||
{
|
||||
private:
|
||||
typedef beast::abstract_clock <std::chrono::steady_clock> clock_type;
|
||||
typedef hash_map <std::string, Import> Imports;
|
||||
typedef hash_map <Key, Entry, Key::hasher, Key::key_equal> Table;
|
||||
typedef beast::List <Entry> EntryIntrusiveList;
|
||||
using clock_type = beast::abstract_clock <std::chrono::steady_clock>;
|
||||
using Imports = hash_map <std::string, Import>;
|
||||
using Table = hash_map <Key, Entry, Key::hasher, Key::key_equal>;
|
||||
using EntryIntrusiveList = beast::List <Entry>;
|
||||
|
||||
struct State
|
||||
{
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
Imports import_table;
|
||||
};
|
||||
|
||||
typedef beast::SharedData <State> SharedState;
|
||||
using SharedState = beast::SharedData <State>;
|
||||
|
||||
struct Stats
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user