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 9ad5644a8c
commit 845c9f8a51
90 changed files with 362 additions and 362 deletions

View File

@@ -57,7 +57,7 @@ template <typename ElementType,
class Array
{
private:
typedef ElementType ParameterType;
using ParameterType = ElementType;
public:
//==============================================================================
@@ -1021,7 +1021,7 @@ public:
inline const TypeOfCriticalSectionToUse& getLock() const noexcept { return data; }
/** Returns the type of scoped lock to use for locking this array */
typedef typename TypeOfCriticalSectionToUse::ScopedLockType ScopedLockType;
using ScopedLockType = typename TypeOfCriticalSectionToUse::ScopedLockType;
private:

View File

@@ -180,7 +180,7 @@ template <class ElementType>
class DefaultElementComparator
{
private:
typedef ElementType ParameterType;
using ParameterType = ElementType;
public:
static int compareElements (ParameterType first, ParameterType second)