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

@@ -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;