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

@@ -96,7 +96,7 @@ public:
static std::string encode (InputIt first, InputIt last,
Alphabet const& alphabet, bool withCheck)
{
typedef typename std::iterator_traits<InputIt>::value_type value_type;
using value_type = typename std::iterator_traits<InputIt>::value_type;
std::vector <typename std::remove_const <value_type>::type> v;
std::size_t const size (std::distance (first, last));
if (withCheck)

View File

@@ -29,7 +29,7 @@ namespace openssl {
class ec_key
{
public:
typedef struct opaque_EC_KEY* pointer_t;
using pointer_t = struct opaque_EC_KEY*;
private:
pointer_t ptr;

View File

@@ -148,7 +148,7 @@ inline void add_to (bignum const& a,
class ec_point
{
public:
typedef EC_POINT* pointer_t;
using pointer_t = EC_POINT*;
private:
pointer_t ptr;