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
@@ -112,7 +112,7 @@ bool compareAccountCandidate (
|
||||
return (first.priority ^ seq) < (second.priority ^ seq);
|
||||
}
|
||||
|
||||
typedef std::vector<AccountCandidate> AccountCandidates;
|
||||
using AccountCandidates = std::vector<AccountCandidate>;
|
||||
|
||||
struct CostedPath
|
||||
{
|
||||
@@ -120,15 +120,15 @@ struct CostedPath
|
||||
Pathfinder::PathType type;
|
||||
};
|
||||
|
||||
typedef std::vector<CostedPath> CostedPathList;
|
||||
using CostedPathList = std::vector<CostedPath>;
|
||||
|
||||
typedef std::map<Pathfinder::PaymentType, CostedPathList> PathTable;
|
||||
using PathTable = std::map<Pathfinder::PaymentType, CostedPathList>;
|
||||
|
||||
struct PathCost {
|
||||
int cost;
|
||||
char const* path;
|
||||
};
|
||||
typedef std::vector<PathCost> PathCostList;
|
||||
using PathCostList = std::vector<PathCost>;
|
||||
|
||||
static PathTable mPathTable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user