From 35b570833beee64b3bed7ec93e849a1dfde26fd2 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 11 May 2013 19:10:36 -0700 Subject: [PATCH] Another DR106 fix. --- src/cpp/ripple/Pathfinder.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cpp/ripple/Pathfinder.cpp b/src/cpp/ripple/Pathfinder.cpp index 7101f9458..0a33234c4 100644 --- a/src/cpp/ripple/Pathfinder.cpp +++ b/src/cpp/ripple/Pathfinder.cpp @@ -794,7 +794,11 @@ bool Pathfinder::matchesOrigin(const uint160& currency, const uint160& issuer) int Pathfinder::getPathsOut(const uint160& currencyID, const uint160& accountID, bool authRequired, bool isDstCurrency, const uint160& dstAccount) { +#ifdef C11X std::pair accountCurrency(currencyID, accountID); +#else + std::pair accountCurrency(currencyID, accountID); +#endif boost::unordered_map, int>::iterator it = mPOMap.find(accountCurrency); if (it != mPOMap.end()) return it->second;