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

@@ -75,7 +75,7 @@ using custom_delete_unique_ptr = std::unique_ptr <T, custom_delete <T>>;
// RSA
typedef custom_delete_unique_ptr <RSA> rsa_ptr;
using rsa_ptr = custom_delete_unique_ptr <RSA>;
static rsa_ptr rsa_generate_key (int n_bits)
{
@@ -91,7 +91,7 @@ static rsa_ptr rsa_generate_key (int n_bits)
// EVP_PKEY
typedef custom_delete_unique_ptr <EVP_PKEY> evp_pkey_ptr;
using evp_pkey_ptr = custom_delete_unique_ptr <EVP_PKEY>;
static evp_pkey_ptr evp_pkey_new()
{
@@ -117,7 +117,7 @@ static void evp_pkey_assign_rsa (EVP_PKEY* evp_pkey, rsa_ptr&& rsa)
// X509
typedef custom_delete_unique_ptr <X509> x509_ptr;
using x509_ptr = custom_delete_unique_ptr <X509>;
static x509_ptr x509_new()
{