mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +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
9ad5644a8c
commit
845c9f8a51
@@ -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:
|
||||
|
||||
@@ -180,7 +180,7 @@ template <class ElementType>
|
||||
class DefaultElementComparator
|
||||
{
|
||||
private:
|
||||
typedef ElementType ParameterType;
|
||||
using ParameterType = ElementType;
|
||||
|
||||
public:
|
||||
static int compareElements (ParameterType first, ParameterType second)
|
||||
|
||||
Reference in New Issue
Block a user