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

@@ -68,14 +68,14 @@ private:
using list_type = boost::intrusive::make_list <Child,
boost::intrusive::constant_time_size <false>>::type;
typedef std::chrono::system_clock clock_type;
using clock_type = std::chrono::system_clock;
enum
{
historySize = 100
};
typedef std::vector <std::shared_ptr<Door>> Doors;
using Doors = std::vector <std::shared_ptr<Door>>;
Handler& handler_;
beast::Journal journal_;

View File

@@ -215,7 +215,7 @@ public:
test_request()
{
boost::asio::io_service ios;
typedef boost::asio::ip::tcp::socket socket;
using socket = boost::asio::ip::tcp::socket;
socket s (ios);
if (! connect (s, "127.0.0.1", testPort))
@@ -247,7 +247,7 @@ public:
test_keepalive()
{
boost::asio::io_service ios;
typedef boost::asio::ip::tcp::socket socket;
using socket = boost::asio::ip::tcp::socket;
socket s (ios);
if (! connect (s, "127.0.0.1", testPort))