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
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user