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:
Howard Hinnant
2015-05-21 19:12:10 -04:00
committed by Vinnie Falco
parent 52f298f150
commit 155fcdbcd0
224 changed files with 790 additions and 844 deletions

View File

@@ -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

View File

@@ -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
{